This repository was archived by the owner on Dec 20, 2025. It is now read-only.
docs: update README with new badges and format #27
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: Mirror Repository | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| permissions: | |
| contents: read | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| # restrict to the main repository | |
| if: github.repository == 'typicalninja/google-sr' | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Push to Mirror | |
| uses: yesolutions/mirror-action@master | |
| with: | |
| REMOTE: 'ssh://git@codeberg.org/typicalninja/google-sr.git' | |
| GIT_SSH_PRIVATE_KEY: ${{ secrets.MIRROR_GIT_SSH_PRIVATE_KEY }} | |
| #GIT_SSH_KNOWN_HOSTS: ${{ secrets.MIRROR_GIT_SSH_KNOWN_HOSTS }} | |
| # Known host seem not work | |
| # for now just skip verification | |
| # see here? https://github.com/yesolutions/mirror-action/issues/14 | |
| GIT_SSH_NO_VERIFY_HOST: "true" |