mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-16 01:41:17 +08:00
c9d3cba845
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
28 lines
724 B
YAML
28 lines
724 B
YAML
name: Cancelling Duplicates
|
|
on:
|
|
workflow_run:
|
|
workflows:
|
|
- 'CI'
|
|
- 'CI Centos7'
|
|
- 'Chaos Test'
|
|
- 'fuzzing'
|
|
types: ['requested']
|
|
|
|
jobs:
|
|
cancel-duplicate-workflow-runs:
|
|
name: "Cancel duplicate workflow runs"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
|
uses: actions/checkout@v2.3.4
|
|
with:
|
|
submodules: recursive
|
|
|
|
- uses: ./.github/actions/cancel-workflow-runs
|
|
name: "Cancel duplicate workflow runs"
|
|
with:
|
|
cancelMode: allDuplicates
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
|
skipEventTypes: '["push"]'
|