blob: b7c750e2ab598e08e8615388121b097f5b258e53 [file] [log] [blame]
name: Cancelling Duplicates
on:
workflow_run:
workflows:
- 'Frontend e2e test'
- 'Frontend e2e test for plugin'
- 'Test and Deploy with Docker'
- 'Test building web in multiple node version'
- 'Backend E2E Test'
- 'make build'
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
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", "schedule"]'