Merge pull request #402 from HackSoftware/dependencies #53
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Automatic Rebase | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
rebase: | |
name: Rebase `dependencies` with `master` | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
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 [email protected] | |
git rebase origin/master | |
git push origin dependencies --force-with-lease |