Skip to content

Commit c6bedba

Browse files
authored
Create rebase-action
1 parent af6e3ca commit c6bedba

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/rebase.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Rebase Action
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
7+
jobs:
8+
rebase:
9+
name: Rebase
10+
runs-on: [ubuntu-latest]
11+
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
12+
steps:
13+
- uses: actions/checkout@master
14+
- name: Auto Rebase
15+
uses: cirrus-actions/rebase@1.2
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
always-run:
19+
name: Always run
20+
runs-on: [ubuntu-latest]
21+
steps:
22+
- name: Perform Echo
23+
run: echo "Used to prevent Action to show as failed."

0 commit comments

Comments
 (0)