Skip to content

Commit

Permalink
chore(action): move permissions to specific job (#12498)
Browse files Browse the repository at this point in the history
## Motivation

We need to define it on the job level

Signed-off-by: Lukasz Dziedziak <[email protected]>
  • Loading branch information
lukidzi authored Jan 10, 2025
1 parent 3a00363 commit 9bc044a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pr-modification.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ on:
required: false
default: '10 minutes'

permissions:
contents: read
jobs:
find-prs:
permissions:
contents: read
pull-requests: read
env:
LOOK_BACK: ${{ github.event.inputs.lookback || '10 minutes' }}
Expand Down

0 comments on commit 9bc044a

Please sign in to comment.