# This is a basic workflow to help you get started with Actions name: CI # Controls when the workflow will run on: # Triggers the workflow on push or pull request events but only for the "main" branch push: branches: [ "main" ] pull_request: branches: [ "main" ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: update_external_airflow_fork: runs-on: ubuntu-latest steps: - uses: TobKed/github-forks-sync-action@main with: github_token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} # 令牌 upstream_repository: liu673cn/box # 上游仓库 target_repository: woshishiq1/mao # 你要推送的仓库 upstream_branch: master # 默认是拉取上游仓库的master分支 target_branch: master # 默认推送到你的仓库master分支 force: true # 是否强制推送 tags: true # 确定是否使用-tags