Skip to content

Commit 4a247ed

Browse files
authored
ci: cleanup 1.0-dev triggers and remove branch filters (#1002)
1. Cleanup 1.0-dev filters as the branch is removed already. 2. Remove any branch filters for workflows as a safety net if something got skipped on PR by accident. 3. Use "include" logic to make it more transparent what is the scope of each check (everything will run on `main` as per the previous item just in case the filter is wrong).
1 parent 69273a3 commit 4a247ed

5 files changed

Lines changed: 39 additions & 81 deletions

File tree

.github/workflows/install-smoke.yml

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,16 @@
22
name: Install Smoke Test
33
on:
44
push:
5-
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/**'
5+
branches: [main]
176
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/**'
7+
paths:
8+
- 'src/**'
9+
- 'pyproject.toml'
10+
- 'uv.lock'
11+
- 'scripts/test_install_smoke.py'
12+
- 'scripts/test_install_smoke.sh'
13+
# Self-callout: re-run when this workflow changes so YAML edits are validated in PRs.
14+
- '.github/workflows/install-smoke.yml'
2915
permissions:
3016
contents: read
3117

.github/workflows/itk.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@ name: ITK
22

33
on:
44
push:
5-
branches: [main, 1.0-dev]
5+
branches: [main]
66
pull_request:
77
paths:
88
- 'src/**'
99
- 'itk/**'
1010
- 'pyproject.toml'
11+
- 'uv.lock'
12+
# Self-callout: re-run when this workflow changes so YAML edits are validated in PRs.
13+
- '.github/workflows/itk.yaml'
1114

1215
permissions:
1316
contents: read

.github/workflows/linter.yaml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,15 @@
22
name: Lint Code Base
33
on:
44
pull_request:
5-
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/**'
5+
branches: [main]
6+
paths:
7+
- '**.py'
8+
- '**.pyi'
9+
- 'pyproject.toml'
10+
- 'uv.lock'
11+
- '.jscpd.json'
12+
# Self-callout: re-run when this workflow changes so YAML edits are validated in PRs.
13+
- '.github/workflows/linter.yaml'
1714
permissions:
1815
contents: read
1916
jobs:

.github/workflows/run-tck.yaml

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,15 @@ 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/**'
176
pull_request:
187
branches: [ "main" ]
19-
paths-ignore:
20-
- '**.md'
21-
- 'LICENSE'
22-
- 'docs/**'
23-
- '.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/**'
8+
paths:
9+
- 'src/**'
10+
- 'tck/**'
11+
- 'pyproject.toml'
12+
- 'uv.lock'
13+
# Self-callout: re-run when this workflow changes so YAML edits are validated in PRs.
14+
- '.github/workflows/run-tck.yaml'
3015

3116
permissions:
3217
contents: read

.github/workflows/unit-tests.yml

Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,17 @@
22
name: Run Unit Tests
33
on:
44
push:
5-
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/**'
5+
branches: [main]
176
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/**'
7+
paths:
8+
- 'src/**'
9+
- 'tests/**'
10+
- 'pyproject.toml'
11+
- 'uv.lock'
12+
- 'scripts/run_db_tests.sh'
13+
- 'scripts/docker-compose.test.yml'
14+
# Self-callout: re-run when this workflow changes so YAML edits are validated in PRs.
15+
- '.github/workflows/unit-tests.yml'
2916
permissions:
3017
contents: read
3118

0 commit comments

Comments
 (0)