Merge pull request #497 from HackSoftware/dependencies #93
This file contains hidden or 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 github-actions@github.com | |
| git rebase origin/master | |
| git push origin dependencies --force-with-lease |