Skip to content

Commit

Permalink
CI - Add /rebase workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Mattiello <[email protected]>
  • Loading branch information
JoeMatt committed Nov 24, 2019
1 parent b002ab1 commit 1ff6c32
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Rebase PR branch when someone comments /rebase
on:
issue_comment:
types: [created]
name: Automatic Rebase
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@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1ff6c32

Please sign in to comment.