chore(GitHub): add rebase action

This commit is contained in:
Daniel Sogl 2020-05-16 14:47:26 +02:00 committed by GitHub
parent 0f1cde634f
commit 3ddd672e00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

17
.github/workflows/rebase.yml vendored Normal file
View File

@ -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.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}