Skip to content

Commit 91e3648

Browse files
authored
Run slash command dispatch workflow on Pull Request comments only (#1248)
The workflow ran on every GitHub issue and pull request comments. This patch ensures that the the slash command dispatch workflow is triggered by Pull Request comments only. Patches #646.
1 parent 3c9f463 commit 91e3648

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
# types: [created, edited]
77
jobs:
88
slashCommandDispatch:
9+
if: ${{ github.event.issue.pull_request }}
910
runs-on: ubuntu-latest
1011
steps:
1112
# Generate token from GenericMappingTools bot

0 commit comments

Comments
 (0)