File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 8
8
repository_dispatch :
9
9
types : [format-command]
10
10
11
- permissions :
12
- contents : write
11
+ permissions : {}
13
12
14
13
jobs :
15
14
format :
15
+ permissions :
16
+ contents : write # for Git to git push
16
17
runs-on : ubuntu-latest
17
18
steps :
18
19
# Generate token from GenericMappingTools bot
Original file line number Diff line number Diff line change 10
10
# Add "edited" type for test purposes. Where possible, avoid using to prevent processing unnecessary events.
11
11
# types: [created, edited]
12
12
13
- permissions :
14
- issues : write
13
+ permissions : {}
15
14
16
15
jobs :
17
16
slashCommandDispatch :
17
+ permissions :
18
+ contents : write # for executing the repository_dispatch event
19
+ pull-requests : write # for peter-evans/slash-command-dispatch to create PR reaction
18
20
if : ${{ github.event.issue.pull_request }}
19
21
runs-on : ubuntu-latest
20
22
steps :
You can’t perform that action at this time.
0 commit comments