Skip to content

Commit

Permalink
ci: add GitHub token permissions for workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Sharma <varunsh@stepsecurity.io>
  • Loading branch information
varunsh-coder committed Jul 10, 2022
1 parent c0001d4 commit 14ec670
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 14ec670

Please sign in to comment.