"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "77321481247787c97568c3b9f64b19e22351bab8"
Unverified Commit 50415b84 authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

Revert "Change push CI to run on workflow_run event (#17692)" (#17717)

This reverts commit b76290f4.
parent 7f14839f
# Used to trigger self-push CI
name: Self-hosted runner (push-caller)
on:
......@@ -14,8 +13,17 @@ on:
jobs:
run_push_ci:
name: Trigger Push CI
name: Run Push CI
runs-on: ubuntu-latest
steps:
- name: Trigger push CI via workflow_run
run: echo "Trigger push CI via workflow_run"
\ No newline at end of file
- name: Checkout transformers
uses: actions/checkout@v2
with:
fetch-depth: 2
ssh-key: "${{ secrets.COMMIT_KEY }}"
- name: Checkout to branch push-ci
# A more strict way to make sure`push-ci` is exactly the same as `main` at the push event commit.
run: |
git checkout -b push-ci
git push -u origin push-ci --force
name: Self-hosted runner (push)
on:
workflow_run:
workflows: ["Self-hosted runner (push-caller)"]
branches: ["main"]
types: [completed]
push:
branches:
- push-ci
- ci_*
- ci-*
paths:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment