Skip to content

Commit

Permalink
Create rebase_dependencies.yml (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dankoy authored Feb 3, 2024
1 parent 1684762 commit 5420351
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/rebase_dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Automatic Rebase
on:
push:
branches:
- main
jobs:
rebase:
name: Rebase `dependencies` with `master`
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
ref: dependencies
- run: |
git config user.name github-actions
git config user.email github-actions@github.com
git rebase origin/master
git push origin dependencies --force

0 comments on commit 5420351

Please sign in to comment.