Update main.yml
This commit is contained in:
parent
2ad9ca85ae
commit
2c8f209bd0
27
.github/workflows/main.yml
vendored
27
.github/workflows/main.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user