Skip to content

android/crowdin: Add retry for repo sync #97

android/crowdin: Add retry for repo sync

android/crowdin: Add retry for repo sync #97

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-20.0
git push origin -f refs/remotes/origin/main:refs/heads/lineage-21.0