Skip to content

fix: workflow

fix: workflow #3

Workflow file for this run

name: 'Sync Fork with Upstream'
on:
push: # This triggers the action whenever you push to the repository
branches:
- main
jobs:
sync_with_upstream:
runs-on: ubuntu-latest
steps:
- name: Checkout the forked repo
uses: actions/checkout@v2
with:
ref: main
- name: Sync from upstream
uses: aormsby/[email protected]
with:
upstream_sync_repo: kongtaoxing/nftwarper # Replace with the original repo's owner and name
upstream_sync_branch: main # Replace with the upstream branch name
target_sync_branch: main # Your target branch to sync (usually 'main')
target_repo_token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, no need to set