仅升级原项目中node版本号,具体使用请移步至原项目tgymnich/fork-sync
If you use a workflow which does not allow to merge pull requests without a review
("Require pull request reviews before merging" in your repo settings)
you can set auto_approve
to true
. In that case you'll have to provide a personal access token
for a user which is allowed to review the pull requests changes. Make sure the token has at least
public_repo
permissions and store the token inside of the repository secrets.
An example workflow would then look like this:
name: Sync Fork
on:
schedule:
- cron: '*/30 * * * *' # every 30 minutes
workflow_dispatch: # on button click
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: zwping/fork-sync@v1.6.5
with:
token: ${{ secrets.PERSONAL_TOKEN }}
owner: llvm
base: master
head: master