Skip to content

Update circleci.yml

Update circleci.yml #8

Workflow file for this run

---
name: Trigger CircleCI
on:
push:
branches:
- main
pull_request_target:
branches:
- main
jobs:
approve: # First step
runs-on: ubuntu-latest
steps:
- name: Approve
run: echo For security reasons, all pull requests need to be approved first before running any automated CI.
trigger-circleci:
runs-on: ubuntu-latest
environment: 'ci'
needs: [approve] # Require the first step to finish
steps:
- name: secretflow-yacl-ci
id: secretflow-yacl-ci
uses: CircleCI-Public/trigger-circleci-pipeline-action@v1.1.0
env:
CCI_TOKEN: ${{ secrets.CCI_TOKEN }}