Lowered actions/checkout to 6.0.1 til actions/checkout#2365 fixed #61
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: Sync changes to GitLab | |
| on: | |
| push: | |
| branches: [master] | |
| jobs: | |
| build: | |
| if: (github.repository == 'awesome-scripts/awesome-userscripts') | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| env: | |
| TZ: PST8PDT | |
| steps: | |
| - name: Checkout awesome-scripts/awesome-userscripts | |
| uses: actions/checkout@v6.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - name: Push changes to gitlab.com/awesome-scripts/awesome-userscripts | |
| env: | |
| GITLAB_SYNC_PAT: ${{ secrets.GITLAB_SYNC_PAT }} | |
| run: | | |
| git push --force -o ci.skip \ | |
| https://oauth2:$GITLAB_SYNC_PAT@gitlab.com/awesome-scripts/awesome-userscripts.git master |