Skip to content

Commit 6f094c3

Browse files
authored
Merge pull request #4305 from rgommers/ci-limit-runs
Limit CI runs to pushes and pull requests on main repo
2 parents d58c88c + 8613632 commit 6f094c3

File tree

6 files changed

+40
-1
lines changed

6 files changed

+40
-1
lines changed

.github/workflows/arm64_graviton.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,25 @@
11
name: arm64 graviton cirun
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
- release-**
8+
pull_request:
9+
branches:
10+
- develop
11+
- release-**
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
15+
cancel-in-progress: true
416

517
permissions:
618
contents: read # to fetch code (actions/checkout)
719

820
jobs:
921
build:
22+
if: "github.repository == 'OpenMathLib/OpenBLAS'"
1023
runs-on: "cirun-aws-runner-graviton--${{ github.run_id }}"
1124

1225
strategy:

.github/workflows/c910v.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@ name: c910v qemu test
22

33
on: [push, pull_request]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
7+
cancel-in-progress: true
8+
59
permissions:
610
contents: read # to fetch code (actions/checkout)
711

812
jobs:
913
TEST:
14+
if: "github.repository == 'OpenMathLib/OpenBLAS'"
1015
runs-on: ubuntu-latest
1116
env:
1217
xuetie_toolchain: https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1663142514282

.github/workflows/dynamic_arch.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@ name: continuous build
22

33
on: [push, pull_request]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
7+
cancel-in-progress: true
8+
59
permissions:
610
contents: read # to fetch code (actions/checkout)
711

812
jobs:
913
build:
14+
if: "github.repository == 'OpenMathLib/OpenBLAS'"
1015
runs-on: ${{ matrix.os }}
1116

1217
strategy:
@@ -146,6 +151,7 @@ jobs:
146151
147152
148153
msys2:
154+
if: "github.repository == 'OpenMathLib/OpenBLAS'"
149155
runs-on: windows-latest
150156

151157
strategy:
@@ -312,6 +318,7 @@ jobs:
312318
313319
314320
cross_build:
321+
if: "github.repository == 'OpenMathLib/OpenBLAS'"
315322
runs-on: ubuntu-22.04
316323

317324
strategy:

.github/workflows/loongarch64.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@ name: loongarch64 qemu test
22

33
on: [push, pull_request]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
7+
cancel-in-progress: true
8+
59
jobs:
610
TEST:
11+
if: "github.repository == 'OpenMathLib/OpenBLAS'"
712
runs-on: ubuntu-latest
813
strategy:
914
fail-fast: false

.github/workflows/mips64.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@ name: mips64 qemu test
22

33
on: [push, pull_request]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
7+
cancel-in-progress: true
8+
59
permissions:
610
contents: read # to fetch code (actions/checkout)
711

812
jobs:
913
TEST:
14+
if: "github.repository == 'OpenMathLib/OpenBLAS'"
1015
runs-on: ubuntu-latest
1116
strategy:
1217
fail-fast: false

.github/workflows/nightly-Homebrew-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ on:
1818

1919
name: Nightly-Homebrew-Build
2020

21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
23+
cancel-in-progress: true
24+
2125
permissions:
2226
contents: read # to fetch code (actions/checkout)
2327

0 commit comments

Comments
 (0)