Skip to content

Commit cb95424

Browse files
authored
ci: add some path filters (#1001)
Do not run heavy jobs for docs and other unrelated changes.
1 parent 01b812b commit cb95424

4 files changed

Lines changed: 73 additions & 0 deletions

File tree

.github/workflows/linter.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@ name: Lint Code Base
33
on:
44
pull_request:
55
branches: [main, 1.0-dev]
6+
paths-ignore:
7+
- '**.md'
8+
- 'LICENSE'
9+
- 'docs/**'
10+
- '.github/CODEOWNERS'
11+
- '.github/ISSUE_TEMPLATE/**'
12+
- '.github/PULL_REQUEST_TEMPLATE.md'
13+
- '.github/dependabot.yml'
14+
- '.gitignore'
15+
- '.git-blame-ignore-revs'
16+
- '.gemini/**'
617
permissions:
718
contents: read
819
jobs:

.github/workflows/minimal-install.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,29 @@ name: Minimal Install Smoke Test
33
on:
44
push:
55
branches: [main, 1.0-dev]
6+
paths-ignore:
7+
- '**.md'
8+
- 'LICENSE'
9+
- 'docs/**'
10+
- '.github/CODEOWNERS'
11+
- '.github/ISSUE_TEMPLATE/**'
12+
- '.github/PULL_REQUEST_TEMPLATE.md'
13+
- '.github/dependabot.yml'
14+
- '.gitignore'
15+
- '.git-blame-ignore-revs'
16+
- '.gemini/**'
617
pull_request:
18+
paths-ignore:
19+
- '**.md'
20+
- 'LICENSE'
21+
- 'docs/**'
22+
- '.github/CODEOWNERS'
23+
- '.github/ISSUE_TEMPLATE/**'
24+
- '.github/PULL_REQUEST_TEMPLATE.md'
25+
- '.github/dependabot.yml'
26+
- '.gitignore'
27+
- '.git-blame-ignore-revs'
28+
- '.gemini/**'
729
permissions:
830
contents: read
931

.github/workflows/run-tck.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,30 @@ name: Run TCK
33
on:
44
push:
55
branches: [ "main" ]
6+
paths-ignore:
7+
- '**.md'
8+
- 'LICENSE'
9+
- 'docs/**'
10+
- '.github/CODEOWNERS'
11+
- '.github/ISSUE_TEMPLATE/**'
12+
- '.github/PULL_REQUEST_TEMPLATE.md'
13+
- '.github/dependabot.yml'
14+
- '.gitignore'
15+
- '.git-blame-ignore-revs'
16+
- '.gemini/**'
617
pull_request:
718
branches: [ "main" ]
819
paths-ignore:
920
- '**.md'
1021
- 'LICENSE'
22+
- 'docs/**'
1123
- '.github/CODEOWNERS'
24+
- '.github/ISSUE_TEMPLATE/**'
25+
- '.github/PULL_REQUEST_TEMPLATE.md'
26+
- '.github/dependabot.yml'
27+
- '.gitignore'
28+
- '.git-blame-ignore-revs'
29+
- '.gemini/**'
1230

1331
permissions:
1432
contents: read

.github/workflows/unit-tests.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,29 @@ name: Run Unit Tests
33
on:
44
push:
55
branches: [main, 1.0-dev]
6+
paths-ignore:
7+
- '**.md'
8+
- 'LICENSE'
9+
- 'docs/**'
10+
- '.github/CODEOWNERS'
11+
- '.github/ISSUE_TEMPLATE/**'
12+
- '.github/PULL_REQUEST_TEMPLATE.md'
13+
- '.github/dependabot.yml'
14+
- '.gitignore'
15+
- '.git-blame-ignore-revs'
16+
- '.gemini/**'
617
pull_request:
18+
paths-ignore:
19+
- '**.md'
20+
- 'LICENSE'
21+
- 'docs/**'
22+
- '.github/CODEOWNERS'
23+
- '.github/ISSUE_TEMPLATE/**'
24+
- '.github/PULL_REQUEST_TEMPLATE.md'
25+
- '.github/dependabot.yml'
26+
- '.gitignore'
27+
- '.git-blame-ignore-revs'
28+
- '.gemini/**'
729
permissions:
830
contents: read
931

0 commit comments

Comments
 (0)