diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 18a6a3e..fa29f84 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,22 +15,15 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - # This workflow contains a single job called "build" - build: - # The type of runner that the job will run on + update_external_airflow_fork: runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 - - # Runs a single command using the runners shell - - name: Run a one-line script - run: echo Hello, world! - - # Runs a set of commands using the runners shell - - name: Run a multi-line script - run: | - echo Add other actions to build, - echo test, and deploy your project. + - uses: TobKed/github-forks-sync-action@master + 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