From ccb31f0e765efe9f7760394ac2bb08637fd14f43 Mon Sep 17 00:00:00 2001 From: butlerx Date: Mon, 21 Oct 2019 20:04:16 +0100 Subject: [PATCH] update rebase action --- .github/workflows/rebase.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml index 2ab53a2..d5f83ca 100644 --- a/.github/workflows/rebase.yml +++ b/.github/workflows/rebase.yml @@ -1,13 +1,16 @@ --- name: Automatic Rebase -on: issue_comment +on: + issue_comment: + types: [created] jobs: rebase: name: Rebase + if: contains(github.event.comment.body, '/rebase') runs-on: ubuntu-latest steps: - uses: actions/checkout@master - name: Automatic Rebase - uses: cirrus-actions/rebase@1.0 + uses: cirrus-actions/rebase@master env: GITHUB_TOKEN: ${{ secrets.node_github_token }}