Skip to content

Commit 5c3ee4d

Browse files
committed
ci: classify manager ownership guide as support
Keep edits to the root developer guide from selecting full driver builds and cluster tests. Extend the documentation-only selector regression and contributor selection list together so both describe the actual plan. Include the guide in the release-note support-file union so future documentation-only changes can be omitted.
1 parent 2ce21ba commit 5c3ee4d

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎.github/labeler.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
omit-from-release-notes:
22
- changed-files:
33
- all-globs-to-all-files:
4-
- '{docs/**,tests/**,.github/ISSUE_TEMPLATE/**,.github/pull_request_template.md,.github/dependabot.yml,.github/labeler.yml,.github/release.yml,.github/workflows/{coverage,docs-pr,docs-pages,numpy-import-contract,label-release-notes,call_jira_sync}.yml,CONTRIBUTING.rst,.gitignore,.gitattributes,scripts/coverage.sh,scripts/check_numpy_imports.py}'
4+
- '{docs/**,tests/**,.github/ISSUE_TEMPLATE/**,.github/pull_request_template.md,.github/dependabot.yml,.github/labeler.yml,.github/release.yml,.github/workflows/{coverage,docs-pr,docs-pages,numpy-import-contract,label-release-notes,call_jira_sync}.yml,CONTRIBUTING.rst,MANAGER_OWNERSHIP.rst,.gitignore,.gitattributes,scripts/coverage.sh,scripts/check_numpy_imports.py}'

‎CONTRIBUTING.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ when the working tree has changes; use ``--worktree`` to plan those changes.
204204
Selection follows these rules:
205205

206206
* Documentation/support-only changes select no driver tests. This includes
207-
``docs/``, Markdown files, ``CONTRIBUTING.rst``,
207+
``docs/``, Markdown files, ``CONTRIBUTING.rst``, ``MANAGER_OWNERSHIP.rst``,
208208
``CHANGELOG.rst``, ``LICENSE``,
209209
``.gitignore``, ``.gitattributes``, ``.github/dependabot.yml``, and the two
210210
documentation workflows. Applicable docs builds and release-note

‎scripts/ci/select_tests.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
ROOT = Path(__file__).resolve().parents[2]
1515
SUPPORT_FILES = {
1616
".gitattributes", ".gitignore", ".github/dependabot.yml",
17-
"CONTRIBUTING.rst", "CHANGELOG.rst", "LICENSE",
17+
"CONTRIBUTING.rst", "MANAGER_OWNERSHIP.rst", "CHANGELOG.rst", "LICENSE",
1818
".github/workflows/docs-pr.yml", ".github/workflows/docs-pages.yml",
1919
}
2020
INTEGRATION = ["tests/integration/standard", "tests/integration/cqlengine"]

‎tests/unit/test_ci_selection.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ def test_mixed_driver_and_helper_changes_keep_full_validation(self):
5858
def test_documentation_only_skips_driver_tests(self):
5959
plan = selection.plan_tests([
6060
"docs/conf.py", "docs/pyproject.toml", "docs/guide.rst",
61-
"CONTRIBUTING.rst", "CHANGELOG.rst", "AGENTS.md", "LICENSE",
61+
"CONTRIBUTING.rst", "MANAGER_OWNERSHIP.rst", "CHANGELOG.rst",
62+
"AGENTS.md", "LICENSE",
6263
".github/pull_request_template.md",
6364
".github/ISSUE_TEMPLATE/bug.md",
6465
".github/workflows/docs-pr.yml",

0 commit comments

Comments
 (0)