Skip to content

Commit e27ac51

Browse files
authored
CI: Add issues/contents write permission to the slash commands (#3874)
1 parent a186642 commit e27ac51

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/format-command.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ on:
88
repository_dispatch:
99
types: [format-command]
1010

11-
permissions: {}
11+
permissions:
12+
contents: write
1213

1314
jobs:
1415
format:

.github/workflows/slash-command-dispatch.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ on:
1010
# Add "edited" type for test purposes. Where possible, avoid using to prevent processing unnecessary events.
1111
# types: [created, edited]
1212

13-
permissions: {}
13+
permissions:
14+
issues: write
1415

1516
jobs:
1617
slashCommandDispatch:

0 commit comments

Comments
 (0)