From ed97383570d8261534ff86c480921dcb64efe2e3 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Mon, 25 May 2020 17:30:29 +0900 Subject: [PATCH] Add rebase slash command --- .github/workflows/slash-command-dispatch.yml | 22 ++++++++++++++++++++ 1 file changed, 22 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..543d237 --- /dev/null +++ b/.github/workflows/slash-command-dispatch.yml @@ -0,0 +1,22 @@ +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.ACTIONS_BOT_TOKEN }} + reaction-token: ${{ secrets.GITHUB_TOKEN }} + config: > + [ + { + "command": "rebase", + "permission": "admin", + "repository": "peter-evans/slash-command-dispatch-processor", + "issue_type": "pull-request" + } + ]