Skip to content

Commit b1f446a

Browse files
committed
chore: Do not run CI jobs if "NoCI" flag is set
- Avoids costly overhead for idle PRs where the CI results don't add any value.
1 parent cba5120 commit b1f446a

File tree

8 files changed

+9
-0
lines changed

8 files changed

+9
-0
lines changed

.github/workflows/clang-format.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
check:
7+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'NoCI') }}
78
runs-on: ubuntu-24.04
89
env:
910
CLANG_VERSION: 18

.github/workflows/doxygen.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ concurrency:
1111

1212
jobs:
1313
job:
14+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'NoCI') }}
1415
runs-on: ubuntu-latest
1516
permissions:
1617
contents: write

.github/workflows/levelization.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
check:
7+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'NoCI') }}
78
runs-on: ubuntu-latest
89
env:
910
CLANG_VERSION: 10

.github/workflows/libxrpl.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ concurrency:
1414

1515
jobs:
1616
publish:
17+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'NoCI') }}
1718
name: Publish libXRPL
1819
outputs:
1920
outcome: ${{ steps.upload.outputs.outcome }}

.github/workflows/macos.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ concurrency:
1818
jobs:
1919

2020
test:
21+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'NoCI') }}
2122
strategy:
2223
matrix:
2324
platform:

.github/workflows/missing-commits.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
jobs:
1212
up_to_date:
13+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'NoCI') }}
1314
runs-on: ubuntu-24.04
1415
steps:
1516
- uses: actions/checkout@v4

.github/workflows/nix.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ concurrency:
3939

4040
jobs:
4141
dependencies:
42+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'NoCI') }}
4243
strategy:
4344
fail-fast: false
4445
matrix:
@@ -358,6 +359,7 @@ jobs:
358359
# later
359360

360361
instrumentation-build:
362+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'NoCI') }}
361363
env:
362364
CLANG_RELEASE: 16
363365
strategy:

.github/workflows/windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ concurrency:
2121
jobs:
2222

2323
test:
24+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'NoCI') }}
2425
strategy:
2526
fail-fast: false
2627
matrix:

0 commit comments

Comments
 (0)