Skip to content

Commit c26b045

Browse files
committed
chore(gh): update issue workflow (#2466)
Update workflow permissions. Signed-off-by: Ryan Johnson <[email protected]>
1 parent 3272521 commit c26b045

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/remove-issue-label.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
1+
---
12
name: Remove Labels
23

34
on:
4-
# This file is reused, and called from other workflows
5+
# This file is reused, and called from other workflows.
56
workflow_call:
67
inputs:
78
label-name:
89
required: true
910
type: string
1011

12+
permissions:
13+
contents: read
14+
1115
jobs:
1216
remove-label:
1317
runs-on: ubuntu-latest
18+
permissions:
19+
issues: write
1420
steps:
1521
- uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 # v7.0.0
1622
env:

0 commit comments

Comments
 (0)