Templates update #206
This file contains 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@v2 | |
- name: "Handle common commands" | |
uses: cloudposse/actions/github/[email protected] | |
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@v2 | |
- name: "Run tests" | |
uses: cloudposse/actions/github/[email protected] | |
with: | |
token: ${{ secrets.REPO_ACCESS_TOKEN }} | |
reaction-token: ${{ secrets.GITHUB_TOKEN }} | |
repository: cloudposse/actions | |
commands: test | |
permission: triage | |
issue-type: pull-request | |
reactions: false | |