chore(deps): bump thiserror to 2, sqlx to 0.9 (#336) #84
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 to Codeberg | |
| on: | |
| push: | |
| branches: [main, prod] | |
| tags: ['v*'] | |
| jobs: | |
| mirror: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Skips gracefully until the CODEBERG_TOKEN secret is configured. | |
| - id: token | |
| run: echo "have=${{ secrets.CODEBERG_TOKEN != '' }}" >> "$GITHUB_OUTPUT" | |
| - if: steps.token.outputs.have == 'true' | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| # Mirror exactly the ref that triggered (checkout only fetches that one); | |
| # never --mirror, which would force-push and DELETE unknown refs. | |
| - if: steps.token.outputs.have == 'true' | |
| run: git push --force "https://u8array:${{ secrets.CODEBERG_TOKEN }}@codeberg.org/u8array/ZPLab.git" "HEAD:${{ github.ref }}" |