Skip to content

Commit 5d66632

Browse files
committed
update CI triggers per code review
1 parent 6d4e297 commit 5d66632

File tree

4 files changed

+30
-18
lines changed

4 files changed

+30
-18
lines changed

.github/workflows/binary-builds.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,19 @@ on:
77
push:
88
branches: [main]
99
paths:
10-
- cpp-linter/**
11-
- Cargo.{toml,lock}
10+
- cpp-linter/src/**
11+
- cpp-linter/Cargo.toml
12+
- Cargo.toml
13+
- Cargo.lock
1214
tags:
1315
- v*
1416
pull_request:
1517
branches: [main]
1618
paths:
17-
- cpp-linter/**
18-
- Cargo.{toml,lock}
19+
- cpp-linter/src/**
20+
- cpp-linter/Cargo.toml
21+
- Cargo.toml
22+
- Cargo.lock
1923

2024
env:
2125
CARGO_TERM_COLOR: always

.github/workflows/build-docs.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,17 @@ on:
66
paths:
77
- docs/**
88
- .github/workflows/build-docs.yml
9-
- cpp-linter**.rs
10-
- '**.md'
9+
- cpp-linter/src/**
10+
- '*.md'
11+
- '*/*.md'
1112
pull_request:
1213
branches: [main]
1314
paths:
1415
- docs/**
1516
- .github/workflows/build-docs.yml
16-
- cpp-linter**.rs
17-
- '**.md'
17+
- cpp-linter/src/**
18+
- '*.md'
19+
- '*/*.md'
1820
workflow_dispatch:
1921

2022
env:

.github/workflows/node-js-packaging.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,25 @@ on:
1010
push:
1111
branches: [main]
1212
paths:
13-
- cpp-linter/**.{rs,toml}
13+
- cpp-linter/src/**
14+
- cpp-linter/Cargo.toml
15+
- Cargo.toml
16+
- Cargo.lock
1417
- node-binding/**
15-
- Cargo.{toml,lock}
16-
- '**package.json'
18+
- package.json
1719
- yarn.lock
1820
- .github/workflows/node-js-packaging.yml
1921
tags:
2022
- '*'
2123
pull_request:
2224
branches: [main]
2325
paths:
24-
- cpp-linter/**.{rs,toml}
26+
- cpp-linter/src/**
27+
- cpp-linter/Cargo.toml
28+
- Cargo.toml
29+
- Cargo.lock
2530
- node-binding/**
26-
- Cargo.{toml,lock}
27-
- '**package.json'
31+
- package.json
2832
- yarn.lock
2933
- .github/workflows/node-js-packaging.yml
3034

.github/workflows/run-dev-tests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@ on:
44
push:
55
branches: [main]
66
paths:
7-
- cpp-linter**.{rs,toml}
8-
- Cargo.{toml,lock}"
7+
- cpp-linter/**
8+
- Cargo.toml
9+
- Cargo.lock
910
- .github/workflows/run-dev-tests.yml
1011
pull_request:
1112
branches: [main]
1213
paths:
13-
- cpp-linter**.{rs,toml}
14-
- Cargo.{toml,lock}"
14+
- cpp-linter/**
15+
- Cargo.toml
16+
- Cargo.lock
1517
- .github/workflows/run-dev-tests.yml
1618

1719
env:

0 commit comments

Comments
 (0)