Sync upstream #55
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 upstream | |
| on: | |
| schedule: | |
| - cron: '0 2 * * *' | |
| workflow_dispatch: | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: | | |
| git remote add upstream https://github.com/shuaiplus/NodeCrypt.git | |
| git fetch upstream | |
| git checkout main | |
| git merge --ff-only upstream/main || git merge upstream/main --no-edit | |
| git push origin main |