From 4f9ac1948501a4a6d858e87b638d4e59f354da5a Mon Sep 17 00:00:00 2001 From: Tobias Diez Date: Sun, 8 Dec 2019 14:05:00 +0100 Subject: [PATCH] Try to fix csl update (#5718) --- .github/failure-csl-update | 5 +++++ .github/workflows/refresh-csl-subtrees.yml | 11 ++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .github/failure-csl-update diff --git a/.github/failure-csl-update b/.github/failure-csl-update new file mode 100644 index 00000000000..0b9ab11c20f --- /dev/null +++ b/.github/failure-csl-update @@ -0,0 +1,5 @@ +--- +title: Error while updating citation styles +labels: code-quality, dependencies +--- +[Update of citation styles failed!](https://github.com/JabRef/jabref/actions?query=workflow%3A%22Refresh+Citation+Style+Language+Files%22) diff --git a/.github/workflows/refresh-csl-subtrees.yml b/.github/workflows/refresh-csl-subtrees.yml index ef0d6bd1eff..e3b45237672 100644 --- a/.github/workflows/refresh-csl-subtrees.yml +++ b/.github/workflows/refresh-csl-subtrees.yml @@ -11,7 +11,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source - uses: actions/checkout@v1 + uses: actions/checkout@v2-beta + with: + ref: master - name: Add csl-styles remote run: git remote add -f csl-styles https://github.com/citation-style-language/styles.git - name: Update csl-styles @@ -23,3 +25,10 @@ jobs: - uses: ad-m/github-push-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }} + - name: Report issues + if: failure() + uses: JasonEtco/create-an-issue@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + filename: .github/failure-csl-update.md