Skip to content

Commit

Permalink
Configure permissions for workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada committed Mar 7, 2024
1 parent 83f3e1c commit 52088b7
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci-build-next-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
jobs:
java-17-compatibility:
runs-on: ubuntu-latest
permissions:
contents: read
checks: write # Allow scacap/action-surefire-report
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
shell: "bash"
permissions:
contents: read
pull-requests: write # Allow scacap/action-surefire-report
checks: write # Allow scacap/action-surefire-report
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
defaults:
run:
shell: "bash"
permissions:
contents: read
checks: write # Allow scacap/action-surefire-report
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.exasol_db_version }}
cancel-in-progress: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
defaults:
run:
shell: "bash"
permissions:
contents: read
checks: write # Allow scacap/action-surefire-report
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
defaults:
run:
shell: "bash"
permissions:
contents: read
checks: write # Allow scacap/action-surefire-report
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down

0 comments on commit 52088b7

Please sign in to comment.