Skip to content

Commit 240ea98

Browse files
committed
ci: declare empty permissions for do-not-merge label check
This workflow only checks the PR's labels and exits 1 if 'do not merge' is present. It does not check out the repo, install anything, or call any GitHub API — permissions: {} (no scopes at all) is correct here.
1 parent b8f14fe commit 240ea98

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/do-not-merge.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
branches: ["master"]
1313
types: [checks_requested]
1414

15+
permissions: {}
16+
1517
jobs:
1618
fail-by-label:
1719
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)