From 8a6a64ad02b07017714c6feb4aaeb4123fafdc14 Mon Sep 17 00:00:00 2001 From: Jordan Scales Date: Sat, 2 May 2020 09:22:54 -0400 Subject: [PATCH] Create rebase.yml --- .github/workflows/rebase.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/rebase.yml diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml new file mode 100644 index 0000000..15ba0c9 --- /dev/null +++ b/.github/workflows/rebase.yml @@ -0,0 +1,17 @@ +on: + issue_comment: + types: [created] +name: Automatic Rebase +jobs: + rebase: + name: Rebase + if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase') + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + with: + fetch-depth: 0 + - name: Automatic Rebase + uses: cirrus-actions/rebase@1.2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}