Skip to content

Commit 43005d1

Browse files
authored
Merge pull request #293 from varunsh-coder/token-perms
ci: add GitHub token permissions for workflow
2 parents c0001d4 + 14ec670 commit 43005d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ concurrency:
1717
group: ${{ (github.ref == 'refs/heads/branch_1.2.18' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/release' ) && format('ci-main-{0}', github.sha) || format('ci-main-{0}', github.ref) }}
1818
cancel-in-progress: true
1919

20+
permissions:
21+
contents: read
22+
2023
jobs:
2124
Test:
2225
name: JDK ${{ matrix.jdk }}, ${{ matrix.os }}

0 commit comments

Comments
 (0)