Skip to content

Commit ae7a3f7

Browse files
committed
add auto rebase action workflow
1 parent e41fb7c commit ae7a3f7

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/auto-update.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Auto-update
2+
# Auto-update only listens to `push` events.
3+
# If a pull request is already outdated when enabling auto-merge, manually click on the "Update branch" button a first time to avoid having to wait for another commit to land on the base branch for the pull request to be updated.
4+
on: push
5+
# If pull requests are always based on the same branches, only triggering the workflow when these branches receive new commits will minimize the workflow execution.
6+
# on:
7+
# push:
8+
# branches:
9+
# - main
10+
11+
jobs:
12+
Auto:
13+
name: Auto-update
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: tibdex/auto-update@v2
17+
with:
18+
github_token: ${{ secrets.AUTO_REBASE_PAT }}
19+

0 commit comments

Comments
 (0)