Skip to content

Commit

Permalink
Fix command-dispatch and add conditional to only run on pr comments (#51
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jkisk authored May 25, 2022
1 parent 8c2563b commit 9905ed9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/command-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ on:

jobs:
command-dispatch-for-testing:
if: ${{ github.event.issue.pull_request }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Build
uses: peter-evans/slash-command-dispatch@v2
with:
token: ${{ secrets.EVENT_PAT }}
token: ${{ secrets.PULUMI_BOT_TOKEN }}
reaction-token: ${{ secrets.GITHUB_TOKEN }}
commands: run-acceptance-tests
permission: write
Expand Down

0 comments on commit 9905ed9

Please sign in to comment.