Skip to content

Commit 60f61b0

Browse files
committed
explicit permissions this time
1 parent e10beb2 commit 60f61b0

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/dev-build.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,20 @@ on:
1515
jobs:
1616
deploy:
1717
# These permissions are needed to interact with GitHub's OIDC Token endpoint.
18-
# checkov:skip=CKV2_GHA_1:This ONLY uses a shared workflow and that shared workflow has restricted permissions
1918
permissions:
19+
actions: read
20+
attestations: read
21+
checks: read
22+
deployments: read
23+
discussions: read
24+
issues: read
2025
id-token: write
26+
packages: read
27+
pages: read
28+
pull-requests: read
29+
repository-projects: read
30+
statuses: read
31+
security-events: read
2132
contents: read
2233

2334
name: Dev Container Deploy

0 commit comments

Comments
 (0)