Use breakfast properly #95
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: "Mirror main to lineage-* branches" | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
mirror-branch: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: mirror branches | |
run: | | |
git fetch origin main | |
git push origin -f refs/remotes/origin/main:refs/heads/lineage-19.1 | |
git push origin -f refs/remotes/origin/main:refs/heads/lineage-20.0 | |
git push origin -f refs/remotes/origin/main:refs/heads/lineage-21.0 |