Background
The current pre-merge CI already has component detection for language-specific jobs, but several checks still run broadly:
- If the files being pushed do not include files relevant to a language/tool, that language/tool hook should not run.
Check PR Title does not rerun when a PR title is edited.
- common checks in
_common.yml always run, even when the changed files cannot affect that check.
scripts/ci/license-headers.sh still has a Docker fallback for addlicense.
We should tighten CI execution so PRs run the checks that are relevant to the changed files, while preserving dependency-driven coverage for core changes.
Goals
- Make pre-push hooks run only when the pushed changes include files relevant to that hook.
- Ensure PR title validation reruns after a PR title is edited.
- Remove Docker from the license-header check path and evaluate replacing
addlicense with HawkEye.
Component
None
Proposed solution
No response
Alternatives considered
No response
Background
The current pre-merge CI already has component detection for language-specific jobs, but several checks still run broadly:
Check PR Titledoes not rerun when a PR title is edited._common.ymlalways run, even when the changed files cannot affect that check.scripts/ci/license-headers.shstill has a Docker fallback foraddlicense.We should tighten CI execution so PRs run the checks that are relevant to the changed files, while preserving dependency-driven coverage for core changes.
Goals
addlicensewith HawkEye.Component
None
Proposed solution
No response
Alternatives considered
No response