This repository was archived by the owner on Aug 10, 2026. It is now read-only.
Enforced https #1047
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: [main] | |
| jobs: | |
| build: | |
| if: (github.repository == 'KudoAI/chatgpt.js') | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: read | |
| env: | |
| TZ: PST8PDT | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - env: | |
| GITLAB_SYNC_PAT: ${{ secrets.GITLAB_SYNC_PAT }} | |
| run: | | |
| git push --force -o ci.skip \ | |
| https://oauth2:$GITLAB_SYNC_PAT@gitlab.com/kudoai/chatgpt-js.git main |