Skip to content

Commit

Permalink
move permissions for id-token
Browse files Browse the repository at this point in the history
  • Loading branch information
itaimarongwe-okta authored Sep 24, 2024
1 parent 328e7ac commit b345bac
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/rl-scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ on:
- opened
- synchronize

# Enable JWT read
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout

jobs:
checkout-build-scan-only:
runs-on: ubuntu-latest
Expand All @@ -24,6 +19,7 @@ jobs:

permissions:
pull-requests: write
id-token: write # This is required for requesting the JWT

steps:
- name: Checkout code
Expand Down

0 comments on commit b345bac

Please sign in to comment.