Skip to content

Commit 64ce522

Browse files
committed
[Build] Add explicit job permissions for on-workflow calls
1 parent cc3ea3a commit 64ce522

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,20 @@ env:
1616
jobs:
1717
ci:
1818
uses: ./.github/workflows/ci.yml
19-
20-
codeql:
21-
uses: ./.github/workflows/codeql.yml
19+
permissions:
20+
contents: read
2221

2322
slow:
2423
uses: ./.github/workflows/slow.yml
24+
permissions:
25+
contents: read
26+
27+
codeql:
28+
uses: ./.github/workflows/codeql.yml
29+
permissions:
30+
actions: read
31+
contents: read
32+
security-events: write
2533

2634
release:
2735
name: Release java artifacts

0 commit comments

Comments
 (0)