Skip to content

Commit

Permalink
Merge pull request #579 from varunsh-coder/token-perms
Browse files Browse the repository at this point in the history
ci: add GitHub token permissions for workflow
  • Loading branch information
ceki authored Jul 21, 2022
2 parents 21267c3 + 99de83d commit 5f37b31
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ concurrency:
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) }}
cancel-in-progress: true

permissions:
contents: read

jobs:
Test:
name: JDK ${{ matrix.jdk }}, ${{ matrix.os }}
Expand Down

0 comments on commit 5f37b31

Please sign in to comment.