From e60d84fd0b575dd7a89bc62ac839c5b31dc310be Mon Sep 17 00:00:00 2001 From: Monkey Do Date: Fri, 20 Oct 2023 14:47:48 +0200 Subject: [PATCH] Update CI test results workflow Adding the required permissions to allow the workflow to write checks on pull requests*, as well as updating to a newer version of the workflow * see failures like so: https://github.com/metabrainz/critiquebrainz/actions/runs/6559728119/job/17815889047?pr=494#step:9:31 --- .github/workflows/tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6a1f21c94..43ab3968b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,6 +11,9 @@ jobs: test: name: Run test suite runs-on: ubuntu-latest + permissions: + checks: write + pull-requests: write steps: - uses: actions/checkout@v2 @@ -36,7 +39,7 @@ jobs: run: ./test.sh - name: Publish Test Results - uses: EnricoMi/publish-unit-test-result-action@v1.11 + uses: EnricoMi/publish-unit-test-result-action@v2 if: ${{ always() }} with: files: reports/tests.xml