COIOS-802: Identify native redirect flow (v5) #3275
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cancel duplicate work flows | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
cancel-multiple-workflow-runs: | |
name: "Cancel the self CI workflow run" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Cancel build" | |
uses: potiuk/cancel-workflow-runs@master | |
with: | |
cancelMode: allDuplicates | |
cancelFutureDuplicates: true | |
token: ${{ secrets.GITHUB_TOKEN }} | |
workflowFileName: build.yml | |
- name: "Cancel pr scan" | |
uses: potiuk/cancel-workflow-runs@master | |
with: | |
cancelMode: allDuplicates | |
cancelFutureDuplicates: true | |
token: ${{ secrets.GITHUB_TOKEN }} | |
workflowFileName: pr_scan.yml | |
- name: "Cancel spell check" | |
uses: potiuk/cancel-workflow-runs@master | |
with: | |
cancelMode: allDuplicates | |
cancelFutureDuplicates: true | |
token: ${{ secrets.GITHUB_TOKEN }} | |
workflowFileName: spell-check.yml | |
- name: "Cancel test_cocoapods_integration" | |
uses: potiuk/cancel-workflow-runs@master | |
with: | |
cancelMode: allDuplicates | |
cancelFutureDuplicates: true | |
token: ${{ secrets.GITHUB_TOKEN }} | |
workflowFileName: test_cocoapods_integration.yml | |
- name: "Cancel test-carthage-integration" | |
uses: potiuk/cancel-workflow-runs@master | |
with: | |
cancelMode: allDuplicates | |
cancelFutureDuplicates: true | |
token: ${{ secrets.GITHUB_TOKEN }} | |
workflowFileName: test-carthage-integration.yml | |
- name: "Cancel test-SPM-integration" | |
uses: potiuk/cancel-workflow-runs@master | |
with: | |
cancelMode: allDuplicates | |
cancelFutureDuplicates: true | |
token: ${{ secrets.GITHUB_TOKEN }} | |
workflowFileName: test-SPM-integration.yml | |
- name: "Cancel validate_pr_labels_and_release_notes" | |
uses: potiuk/cancel-workflow-runs@master | |
with: | |
cancelMode: allDuplicates | |
cancelFutureDuplicates: true | |
token: ${{ secrets.GITHUB_TOKEN }} | |
workflowFileName: validate_pr_labels_and_release_notes.yml |