Skip to content

Commit 7560454

Browse files
committed
Trying again
1 parent eadb869 commit 7560454

File tree

2 files changed

+60
-1
lines changed

2 files changed

+60
-1
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: 🧹 Cancel duplicate work flows
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
jobs:
7+
cancel-multiple-workflow-runs:
8+
name: "Cancel the self CI workflow run"
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: "Cancel build"
12+
uses: potiuk/cancel-workflow-runs@master
13+
with:
14+
cancelMode: allDuplicates
15+
cancelFutureDuplicates: true
16+
token: ${{ secrets.GITHUB_TOKEN }}
17+
workflowFileName: build.yml
18+
- name: "Cancel pr scan"
19+
uses: potiuk/cancel-workflow-runs@master
20+
with:
21+
cancelMode: allDuplicates
22+
cancelFutureDuplicates: true
23+
token: ${{ secrets.GITHUB_TOKEN }}
24+
workflowFileName: pr_scan.yml
25+
- name: "Cancel spell check"
26+
uses: potiuk/cancel-workflow-runs@master
27+
with:
28+
cancelMode: allDuplicates
29+
cancelFutureDuplicates: true
30+
token: ${{ secrets.GITHUB_TOKEN }}
31+
workflowFileName: spell-check.yml
32+
- name: "Cancel test_cocoapods_integration"
33+
uses: potiuk/cancel-workflow-runs@master
34+
with:
35+
cancelMode: allDuplicates
36+
cancelFutureDuplicates: true
37+
token: ${{ secrets.GITHUB_TOKEN }}
38+
workflowFileName: test_cocoapods_integration.yml
39+
- name: "Cancel test-carthage-integration"
40+
uses: potiuk/cancel-workflow-runs@master
41+
with:
42+
cancelMode: allDuplicates
43+
cancelFutureDuplicates: true
44+
token: ${{ secrets.GITHUB_TOKEN }}
45+
workflowFileName: test-carthage-integration.yml
46+
- name: "Cancel test-SPM-integration"
47+
uses: potiuk/cancel-workflow-runs@master
48+
with:
49+
cancelMode: allDuplicates
50+
cancelFutureDuplicates: true
51+
token: ${{ secrets.GITHUB_TOKEN }}
52+
workflowFileName: test-SPM-integration.yml
53+
- name: "Cancel validate_pr_labels_and_release_notes"
54+
uses: potiuk/cancel-workflow-runs@master
55+
with:
56+
cancelMode: allDuplicates
57+
cancelFutureDuplicates: true
58+
token: ${{ secrets.GITHUB_TOKEN }}
59+
workflowFileName: validate_pr_labels_and_release_notes.yml

.github/workflows/detect-api.changes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
noTargetBranch: 'no target branch'
5858

5959
- name: 🔍 Detect Changes
60-
uses: Adyen/adyen-swift-public-api-diff
60+
uses: Adyen/adyen-swift-public-api-diff@eadb869bd90b6a78ba9dc4c6aee36e6e716e5cec
6161
with:
6262
platform: "macOS"
6363
new: ${{ env.NEW_VERSION }}

0 commit comments

Comments
 (0)