Use github/download-private-release when GITHUB_TOKEN exists #102
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: chatops | |
| on: | |
| issue_comment: | |
| types: [created] | |
| jobs: | |
| default: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: "Handle common commands" | |
| uses: cloudposse/actions/github/slash-command-dispatch@0.33.0 | |
| with: | |
| token: ${{ secrets.REPO_ACCESS_TOKEN }} | |
| reaction-token: ${{ secrets.GITHUB_TOKEN }} | |
| repository: cloudposse/actions | |
| commands: rebuild-readme, terraform-fmt | |
| permission: triage | |
| issue-type: pull-request | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout commit" | |
| uses: actions/checkout@v4 | |
| - name: "Run tests" | |
| uses: cloudposse/actions/github/slash-command-dispatch@0.33.0 | |
| with: | |
| token: ${{ secrets.REPO_ACCESS_TOKEN }} | |
| reaction-token: ${{ secrets.GITHUB_TOKEN }} | |
| repository: cloudposse/actions | |
| commands: test | |
| permission: triage | |
| issue-type: pull-request | |
| reactions: false |