Skip to content

Commit 5378395

Browse files
authored
chore(gh): update comment workflow (#2468)
Update workflow permissions. Signed-off-by: Ryan Johnson <[email protected]>
1 parent d250926 commit 5378395

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed
Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
1-
name: Issue Comment Created Triage
1+
---
2+
name: Issue Comment
23

34
on:
45
issue_comment:
56
types: [created]
67

8+
permissions:
9+
contents: read
10+
711
jobs:
8-
remove-foobar:
12+
remove-if-waiting:
913
uses: ./.github/workflows/remove-issue-label.yml
14+
permissions:
15+
issues: write
1016
with:
11-
label-name: "waiting-response"
12-
remove-stale:
17+
label-name: "awaiting-response"
18+
remove-if-stale:
1319
uses: ./.github/workflows/remove-issue-label.yml
20+
permissions:
21+
issues: write
1422
with:
1523
label-name: "stale"

0 commit comments

Comments
 (0)