From 7cea1b54e48ae817cf9f65b67fdf4051983953cf Mon Sep 17 00:00:00 2001 From: Erik Osterman Date: Sun, 7 Jun 2020 10:20:17 -0700 Subject: [PATCH] fix issue template (#215) --- .github/ISSUE_TEMPLATE/feature_request.md | 4 ++-- .github/workflows/slash-command-dispatch.yml | 20 +++++++++++++++++++ .../.github/ISSUE_TEMPLATE/feature_request.md | 4 ++-- 3 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/slash-command-dispatch.yml diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index ecc9eb62..39a8686f 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -7,7 +7,7 @@ assignees: '' --- -Have a question? Please checkout our [Slack Community](https://slack.cloudposse.com) in the `#geodesic` channel or visit our [Slack Archive](https://archive.sweetops.com/geodesic/). +Have a question? Please checkout our [Slack Community](https://slack.cloudposse.com) or visit our [Slack Archive](https://archive.sweetops.com/). [![Slack Community](https://slack.cloudposse.com/badge.svg)](https://slack.cloudposse.com) @@ -33,4 +33,4 @@ Explain what alternative solutions or features you've considered. ## Additional Context -Add any other context or screenshots about the feature request here. \ No newline at end of file +Add any other context or screenshots about the feature request here. diff --git a/.github/workflows/slash-command-dispatch.yml b/.github/workflows/slash-command-dispatch.yml new file mode 100644 index 00000000..3e3c1387 --- /dev/null +++ b/.github/workflows/slash-command-dispatch.yml @@ -0,0 +1,20 @@ +name: Slash Command Dispatch +on: + issue_comment: + types: [created] + +jobs: + slashCommandDispatch: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Slash Command Dispatch + uses: cloudposse/actions/github/slash-command-dispatch@0.12.0 + with: + token: ${{ secrets.GITHUB_BOT_TOKEN }} + reaction-token: ${{ secrets.GITHUB_TOKEN }} + repository: cloudposse/actions + commands: rebuild-readme, terraform-fmt + permission: none + issue-type: pull-request diff --git a/templates/.github/ISSUE_TEMPLATE/feature_request.md b/templates/.github/ISSUE_TEMPLATE/feature_request.md index ecc9eb62..39a8686f 100644 --- a/templates/.github/ISSUE_TEMPLATE/feature_request.md +++ b/templates/.github/ISSUE_TEMPLATE/feature_request.md @@ -7,7 +7,7 @@ assignees: '' --- -Have a question? Please checkout our [Slack Community](https://slack.cloudposse.com) in the `#geodesic` channel or visit our [Slack Archive](https://archive.sweetops.com/geodesic/). +Have a question? Please checkout our [Slack Community](https://slack.cloudposse.com) or visit our [Slack Archive](https://archive.sweetops.com/). [![Slack Community](https://slack.cloudposse.com/badge.svg)](https://slack.cloudposse.com) @@ -33,4 +33,4 @@ Explain what alternative solutions or features you've considered. ## Additional Context -Add any other context or screenshots about the feature request here. \ No newline at end of file +Add any other context or screenshots about the feature request here.