From caeee061edb096992357b056232a905813ff70e4 Mon Sep 17 00:00:00 2001 From: Tobias Diez Date: Sat, 7 Dec 2019 20:38:43 +0100 Subject: [PATCH 1/3] Try to fix csl update The update currently fails. https://github.com/JabRef/jabref/commit/e251de5c50bf19afcd7fa761eb9d900eabc98a8e/checks?check_suite_id=336132856 This PR tries to fix that. --- .github/workflows/refresh-csl-subtrees.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/refresh-csl-subtrees.yml b/.github/workflows/refresh-csl-subtrees.yml index ef0d6bd1eff..d984d457fe3 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 From 4c3d58c6c07d1e5753b0e5152db71038d88ea510 Mon Sep 17 00:00:00 2001 From: Tobias Diez Date: Sat, 7 Dec 2019 20:40:19 +0100 Subject: [PATCH 2/3] Update refresh-csl-subtrees.yml --- .github/workflows/refresh-csl-subtrees.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/refresh-csl-subtrees.yml b/.github/workflows/refresh-csl-subtrees.yml index d984d457fe3..e3b45237672 100644 --- a/.github/workflows/refresh-csl-subtrees.yml +++ b/.github/workflows/refresh-csl-subtrees.yml @@ -25,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 From 3395ef26b8b849f5462eddac45c1741683888150 Mon Sep 17 00:00:00 2001 From: Tobias Diez Date: Sat, 7 Dec 2019 20:41:55 +0100 Subject: [PATCH 3/3] Create failure-csl-update --- .github/failure-csl-update | 5 +++++ 1 file changed, 5 insertions(+) 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)