From 324fe6cdde95c17edd66fa1ff456cb02a31c9cad Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Tue, 3 Dec 2019 19:50:15 +0900 Subject: [PATCH] Add slash command dispatch workflow --- .github/workflows/slash-command-dispatch.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/slash-command-dispatch.yml diff --git a/.github/workflows/slash-command-dispatch.yml b/.github/workflows/slash-command-dispatch.yml new file mode 100644 index 0000000..e2b9f3b --- /dev/null +++ b/.github/workflows/slash-command-dispatch.yml @@ -0,0 +1,16 @@ +name: Slash Command Dispatch +on: + issue_comment: + types: [created] +jobs: + slashCommandDispatch: + runs-on: ubuntu-latest + steps: + - name: Slash Command Dispatch + uses: peter-evans/slash-command-dispatch@v1 + with: + token: ${{ secrets.REPO_ACCESS_TOKEN }} + reaction-token: ${{ secrets.GITHUB_TOKEN }} + commands: test + permission: admin + repository: peter-evans/create-pull-request-tests