Skip to content

Commit 631814d

Browse files
authored
Fix the null ${{ github.event.pull_request.number }} in concurrency group (#78)
* fix concurrency * use the group name suggested by github doc * remove echo pr id
1 parent 027b03d commit 631814d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+54
-54
lines changed

.github/workflows/OCV-Contrib-PR-3.4-ARM64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
workflow_call:
1010

1111
concurrency:
12-
group: OCV-Contrib-PR-3.4-ARM64-${{ github.event.pull_request.number }}
12+
group: ${{ github.workflow }}-${{ github.ref }}
1313
cancel-in-progress: true
1414

1515
env:

.github/workflows/OCV-Contrib-PR-3.4-U14.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
workflow_call:
1010

1111
concurrency:
12-
group: OCV-Contrib-PR-3.4-U14-${{ github.event.pull_request.number }}
12+
group: ${{ github.workflow }}-${{ github.ref }}
1313
cancel-in-progress: true
1414

1515
env:

.github/workflows/OCV-Contrib-PR-3.4-U20.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
workflow_call:
1010

1111
concurrency:
12-
group: OCV-Contrib-PR-3.4-U20-${{ github.event.pull_request.number }}
12+
group: ${{ github.workflow }}-${{ github.ref }}
1313
cancel-in-progress: true
1414

1515
env:

.github/workflows/OCV-Contrib-PR-3.4-W10.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
workflow_call:
1010

1111
concurrency:
12-
group: OCV-Contrib-PR-3.4-W10-${{ github.event.pull_request.number }}
12+
group: ${{ github.workflow }}-${{ github.ref }}
1313
cancel-in-progress: true
1414

1515
env:

.github/workflows/OCV-Contrib-PR-3.4-macOS-ARM64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
workflow_call:
1010

1111
concurrency:
12-
group: OCV-Contrib-PR-3.4-macOS-ARM64-${{ github.event.pull_request.number }}
12+
group: ${{ github.workflow }}-${{ github.ref }}
1313
cancel-in-progress: true
1414

1515
env:

.github/workflows/OCV-Contrib-PR-3.4-macOS-x86_64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
workflow_call:
1010

1111
concurrency:
12-
group: OCV-Contrib-PR-3.4-macOS-x86_64-${{ github.event.pull_request.number }}
12+
group: ${{ github.workflow }}-${{ github.ref }}
1313
cancel-in-progress: true
1414

1515
env:

.github/workflows/OCV-Contrib-PR-4.x-ARM64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
workflow_call:
1010

1111
concurrency:
12-
group: OCV-Contrib-PR-4.x-ARM64-${{ github.event.pull_request.number }}
12+
group: ${{ github.workflow }}-${{ github.ref }}
1313
cancel-in-progress: true
1414

1515
env:

.github/workflows/OCV-Contrib-PR-4.x-U20-Cuda.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
workflow_call:
1010

1111
concurrency:
12-
group: OCV-Contrib-PR-4.x-U20-Cuda-${{ github.event.pull_request.number }}
12+
group: ${{ github.workflow }}-${{ github.ref }}
1313
cancel-in-progress: true
1414

1515
env:

.github/workflows/OCV-Contrib-PR-4.x-U20.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
workflow_call:
1010

1111
concurrency:
12-
group: OCV-Contrib-PR-4.x-U20-${{ github.event.pull_request.number }}
12+
group: ${{ github.workflow }}-${{ github.ref }}
1313
cancel-in-progress: true
1414

1515
env:

.github/workflows/OCV-Contrib-PR-4.x-W10.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
workflow_call:
1010

1111
concurrency:
12-
group: OCV-Contrib-PR-4.x-W10-${{ github.event.pull_request.number }}
12+
group: ${{ github.workflow }}-${{ github.ref }}
1313
cancel-in-progress: true
1414

1515
env:

0 commit comments

Comments
 (0)