2020-05-28 15:44:31 +02:00
|
|
|
on:
|
2019-11-21 14:47:45 +01:00
|
|
|
issue_comment:
|
|
|
|
types: [created]
|
2020-01-28 15:38:32 +01:00
|
|
|
name: Automatic Rebase
|
2019-11-21 14:47:45 +01:00
|
|
|
jobs:
|
|
|
|
rebase:
|
|
|
|
name: Rebase
|
|
|
|
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2020-05-28 15:26:02 +02:00
|
|
|
- name: Checkout the latest code
|
2022-10-20 11:55:10 +02:00
|
|
|
uses: actions/checkout@v3
|
2020-01-28 15:38:32 +01:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2019-11-21 14:47:45 +01:00
|
|
|
- name: Automatic Rebase
|
2021-06-17 17:40:42 +02:00
|
|
|
uses: cirrus-actions/rebase@1.5
|
2019-11-21 14:47:45 +01:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|