Skip to content

Commit

Permalink
drop pr approver workflow top-level permissions
Browse files Browse the repository at this point in the history
Set top-level permissions to none. This is the best practice for
GH actions, and for example OpenSSF Scorecards penalize CAPI for
not having it.

Signed-off-by: Tuomo Tanskanen <[email protected]>
  • Loading branch information
tuminoid committed May 22, 2024
1 parent a2b7dd1 commit 37efb8f
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:
- reopened
- synchronize

permissions: {}

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

0 comments on commit 37efb8f

Please sign in to comment.