Update main.yml

This commit is contained in:
woshishiq1 2022-09-20 13:26:05 +08:00 committed by GitHub
parent 2ad9ca85ae
commit 2c8f209bd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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