.github/workflows/mirror.yaml #3137
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
on: | |
schedule: | |
- cron: "*/10 * * * *" | |
push: | |
branches: | |
- main | |
jobs: | |
mirror: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.WORKFLOW_TOKEN }} | |
- run: git remote add mirrored https://github.com/BlindfoldedSurgery/actions-container.git | |
- run: git fetch mirrored 'refs/tags/*:refs/tags/*' | |
- run: git push origin --tags --force |