Merge pull request #588 from ResearchHub/remove-bulk-impression #468
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 Master Branch | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| mirror: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Git | |
| run: | | |
| git config --global user.email "github-actions[bot]@users.no-reply.github.com" | |
| git config --global user.name "github-actions[bot]" | |
| - name: Mirror master | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.PAT }} | |
| run: | | |
| git fetch origin main | |
| git update-ref refs/heads/main-mirror refs/remotes/origin/main | |
| git push --force origin main-mirror |