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