Skip to content

Commit

Permalink
explicitly drop pr approver workflow permissions
Browse files Browse the repository at this point in the history
Drop all permissions on top-level. We're already giving out
actions: write on the job level.

Signed-off-by: Tuomo Tanskanen <tuomo.tanskanen@est.tech>
  • Loading branch information
tuminoid committed May 22, 2024
1 parent 01f5f57 commit 61b3611
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pr-gh-workflow-approve.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
pull_request_target:
types: [opened, edited, reopened, synchronize]

permissions: {}

jobs:
approve:
name: Approve on ok-to-test
Expand Down

0 comments on commit 61b3611

Please sign in to comment.