Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/format-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ on:
repository_dispatch:
types: [format-command]

permissions:
contents: write
permissions: {}

jobs:
format:
permissions:
contents: write # for Git to git push
runs-on: ubuntu-latest
steps:
# Generate token from GenericMappingTools bot
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/slash-command-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ on:
# Add "edited" type for test purposes. Where possible, avoid using to prevent processing unnecessary events.
# types: [created, edited]

permissions:
issues: write
permissions: {}

jobs:
slashCommandDispatch:
permissions:
contents: write # for executing the repository_dispatch event
pull-requests: write # for peter-evans/slash-command-dispatch to create PR reaction
if: ${{ github.event.issue.pull_request }}
runs-on: ubuntu-latest
steps:
Expand Down