Define top level Permission for ci-image-scanning workflow
Signed-off-by: aditya7302 <aditya7302@gmail.com>
This commit is contained in:
parent
5e8152ab2e
commit
c437a18de3
|
@ -5,6 +5,11 @@ on:
|
||||||
# for PRs initiated by Dependabot.
|
# for PRs initiated by Dependabot.
|
||||||
branches-ignore:
|
branches-ignore:
|
||||||
- 'dependabot/**'
|
- 'dependabot/**'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read # for actions/checkout to fetch code
|
||||||
|
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
use-trivy-to-scan-image:
|
use-trivy-to-scan-image:
|
||||||
name: image-scanning
|
name: image-scanning
|
||||||
|
|
Loading…
Reference in New Issue