From 1fa7fb5acd76f0fbc438ae72da74b2bcc47363d0 Mon Sep 17 00:00:00 2001 From: Monkey Do Date: Fri, 20 Oct 2023 15:17:58 +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/metabrainz.org/actions/runs/6574602419/job/17898828849#step:7: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 ef2f84ff..36f6dc78 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,6 +11,9 @@ jobs: test: runs-on: ubuntu-latest + permissions: + checks: write + pull-requests: write steps: - uses: actions/checkout@v2 @@ -26,7 +29,7 @@ jobs: run: ./test.sh - name: Publish Unit 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