Skip to content

Commit

Permalink
Merge pull request #2451 from SeldonIO/gh-actions-add-rebase-cmd
Browse files Browse the repository at this point in the history
Github actions added rebase command
  • Loading branch information
axsaucedo authored Oct 8, 2020
2 parents b259eb2 + a1ae5e3 commit 8b3352a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
issue_comment:
types: [created]
name: Automatic Rebase
jobs:
rebase:
name: Rebase
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase') && github.event.comment.author_association == 'MEMBER'
runs-on: ubuntu-latest
steps:
- name: Checkout the latest code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Automatic Rebase
uses: cirrus-actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8b3352a

Please sign in to comment.