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:
packages: write
contents: read
security-events: write # To upload Trivy sarif files
if: github.repository == 'matrix-org/dendrite' && github.ref_name == 'main'
needs: [integration-tests-done]
uses: matrix-org/dendrite/.github/workflows/docker.yml@main