Add GHA permission to upload security events

This commit is contained in:
Till Faelligen 2022-11-03 08:26:46 +01:00
parent f5b11e30a4
commit 85d740ea1b
No known key found for this signature in database
GPG key ID: ACCDC9606D472758

View file

@ -434,6 +434,7 @@ jobs:
permissions: permissions:
packages: write packages: write
contents: read contents: read
security-events: write # To upload Trivy sarif files
if: github.repository == 'matrix-org/dendrite' && github.ref_name == 'main' if: github.repository == 'matrix-org/dendrite' && github.ref_name == 'main'
needs: [integration-tests-done] needs: [integration-tests-done]
uses: matrix-org/dendrite/.github/workflows/docker.yml@main uses: matrix-org/dendrite/.github/workflows/docker.yml@main