2021-03-10 15:59:46 +00:00
|
|
|
name: Command Dispatch for PR events
|
2020-12-07 19:29:04 +00:00
|
|
|
on:
|
|
|
|
issue_comment:
|
2022-06-21 17:36:22 +00:00
|
|
|
types: [created]
|
2020-12-07 19:29:04 +00:00
|
|
|
|
2022-09-02 05:40:13 +00:00
|
|
|
# Enables maintainers with "write" permission to trigger jobs on external pull requests.
|
|
|
|
|
2020-12-07 19:29:04 +00:00
|
|
|
jobs:
|
2022-06-21 17:36:22 +00:00
|
|
|
command-dispatch:
|
2020-12-07 19:29:04 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-06-21 17:36:22 +00:00
|
|
|
- name: Dispatch command
|
2020-12-07 19:29:04 +00:00
|
|
|
uses: peter-evans/slash-command-dispatch@v2
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.PULUMI_BOT_TOKEN }}
|
|
|
|
reaction-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
permission: write
|
|
|
|
issue-type: pull-request
|
|
|
|
repository: pulumi/pulumi
|
2022-06-21 17:36:22 +00:00
|
|
|
commands: |
|
|
|
|
run-acceptance-tests
|
|
|
|
run-docs-gen
|
|
|
|
run-codegen
|