fix: add permissions to allow publishing test results for pull requests
Without this, almost every PR from a non-contributor will fail at the publish-test-results
This commit is contained in:
committed by
GitHub
parent
d6bd127ee9
commit
57b14e7a54
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -224,6 +224,8 @@ jobs:
|
||||
name: publish-test-results
|
||||
needs: unit-tests
|
||||
runs-on: ubuntu-20.04
|
||||
permissions:
|
||||
checks: write
|
||||
# the build-and-test job might be skipped, we don't need to run this job then
|
||||
if: success() || failure()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user