|
1 | | -name: Command Dispatch for testing |
2 | | -on: |
3 | | - issue_comment: |
4 | | - types: [created, edited] |
5 | | - |
| 1 | +env: |
| 2 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 3 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 4 | + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 5 | + NUGET_PUBLISH_KEY: ${{ secrets.NUGET_PUBLISH_KEY }} |
| 6 | + PROVIDER: command |
| 7 | + PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }} |
| 8 | + PULUMI_API: https://api.pulumi-staging.io |
| 9 | + PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/.. |
| 10 | + PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget |
| 11 | + PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} |
| 12 | + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |
| 13 | + TRAVIS_OS_NAME: linux |
6 | 14 | jobs: |
7 | 15 | command-dispatch-for-testing: |
| 16 | + if: ${{ github.event.issue.pull_request }} |
| 17 | + name: command-dispatch-for-testing |
8 | 18 | runs-on: ubuntu-latest |
9 | 19 | steps: |
10 | | - - uses: actions/checkout@v2 |
11 | | - - name: Run Build |
12 | | - uses: peter-evans/slash-command-dispatch@v2 |
13 | | - with: |
14 | | - token: ${{ secrets.EVENT_PAT }} |
15 | | - reaction-token: ${{ secrets.GITHUB_TOKEN }} |
16 | | - commands: run-acceptance-tests |
17 | | - permission: write |
18 | | - issue-type: pull-request |
19 | | - repository: pulumi/pulumi-command |
| 20 | + - name: Checkout Repo |
| 21 | + uses: actions/checkout@v2 |
| 22 | + - uses: peter-evans/slash-command-dispatch@v2 |
| 23 | + with: |
| 24 | + commands: run-acceptance-tests |
| 25 | + issue-type: pull-request |
| 26 | + permission: write |
| 27 | + reaction-token: ${{ secrets.GITHUB_TOKEN }} |
| 28 | + repository: pulumi/pulumi-command |
| 29 | + token: ${{ secrets.PULUMI_BOT_TOKEN }} |
| 30 | +name: command-dispatch |
| 31 | +on: |
| 32 | + issue_comment: |
| 33 | + types: |
| 34 | + - created |
| 35 | + - edited |
0 commit comments