name: Mirror to GitHub on: push: branches: [main] tags: ['v*'] jobs: mirror: runs-on: ubuntu-latest steps: - name: Checkout uses: https://github.com/actions/checkout@v4 with: fetch-depth: 0 - name: Push to GitHub mirror uses: https://github.com/ad-m/github-push-action@master with: github_token: ${{ secrets.GH_MIRROR_TOKEN }} repository: metamorphosis-dev/gosearch branch: ${{ github.ref_name }} force: true