Add actions read permission

The CodeQL Action requires this permission to collect information of the workflow run.
This commit is contained in:
Remco Vermeulen
2022-05-30 14:11:28 +02:00
committed by GitHub
parent c45d783de7
commit b9fbda1e7d
+1
View File
@@ -28,6 +28,7 @@ jobs:
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
actions: read # for github/codeql-action/upload-sarif to get Action run status
runs-on: ubuntu-latest
steps:
- name: Checkout the code