Skip to content

Commit e33bf19

Browse files
committed
Update file(s) from wp-cli/.github
1 parent 1794836 commit e33bf19

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/issue-triage.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,14 @@ name: Issue and PR Triage
1616
permissions:
1717
issues: write
1818
pull-requests: write
19-
actions: write
2019
contents: read
2120
models: read
21+
# A caller can only cap a reusable workflow's permissions, never raise them,
22+
# so `actions: write` has to be granted here for the dispatch job downstream
23+
# to work at all. The reusable workflow narrows it to that single job, so the
24+
# `pull_request_target` job does not receive it. Removing it here breaks
25+
# dispatching (see #271/#272); narrow it there instead.
26+
actions: write
2227

2328
jobs:
2429
issue-triage:

0 commit comments

Comments
 (0)