Skip to content

Commit bcf1c23

Browse files
committed
ci: missing permissions
1 parent 561b161 commit bcf1c23

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ on:
1010
workflow_call:
1111

1212
permissions:
13-
contents: read
13+
contents: write
1414
packages: write
15+
actions: read
16+
security-events: write
1517

1618
jobs:
1719
build:
@@ -71,6 +73,7 @@ jobs:
7173
uses: github/codeql-action/upload-sarif@v3
7274
with:
7375
sarif_file: ${{ steps.php-scan.outputs.sarif }}
76+
category: grype-php-report
7477

7578
- name: Generate SBOM for nginx
7679
uses: anchore/sbom-action@v0
@@ -88,3 +91,4 @@ jobs:
8891
uses: github/codeql-action/upload-sarif@v3
8992
with:
9093
sarif_file: ${{ steps.nginx-scan.outputs.sarif }}
94+
category: grype-nginx-report

0 commit comments

Comments
 (0)