Skip to content

Commit

Permalink
Merge pull request rook#14557 from obnoxxx/token-perms-again
Browse files Browse the repository at this point in the history
ci: fix excessive token permissions -- again
  • Loading branch information
BlaineEXE committed Aug 12, 2024
2 parents cb1ea8c + 2d29297 commit fd0c687
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/canary-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ defaults:
# reference: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#using-a-specific-shell
shell: bash --noprofile --norc -eo pipefail -x {0}

permissions:
contents: read

jobs:
canary:
runs-on: ubuntu-22.04
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/integration-test-keystone-auth-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ defaults:
# reference: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#using-a-specific-shell
shell: bash --noprofile --norc -eo pipefail -x {0}

permissions:
contents: read

# cancel the in-progress workflow when PR is refreshed.
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
Expand Down

0 comments on commit fd0c687

Please sign in to comment.