Skip to content

Commit

Permalink
CI: Add /rebase command (#1698)
Browse files Browse the repository at this point in the history
(stolen from v3 repo)
  • Loading branch information
SaschaMann authored Oct 20, 2020
1 parent 53df31f commit c385d52
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Rebase command

on:
issue_comment:
types: [created]

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

0 comments on commit c385d52

Please sign in to comment.