Skip to content

ci: add paths-filter gating to repository_sanity.yaml and versions.yaml - #15451

Draft
lqiu96 wants to merge 1 commit into
mainfrom
ci/path-filter-sanity-and-versions
Draft

lqiu96 wants to merge 1 commit into
mainfrom
ci/path-filter-sanity-and-versions

Conversation

@lqiu96

@lqiu96 lqiu96 commented Dec 4, 2026

Copy link
Copy Markdown
Member

Adds checkout-free dorny/paths-filter jobs to .github/workflows/repository_sanity.yaml and .github/workflows/versions.yaml so their lightweight checks skip the ~60-second full-monorepo actions/checkout on PRs that do not touch relevant files.

  • .github/workflows/repository_sanity.yaml:
    • gitignore_correctness: runs on **/*.java, .gitignore, **/.gitignore, or .github/workflows/repository_sanity.yaml.
    • generate-readme: runs on generate-readme.py, .github/requirements.txt, root README.md, java-*/.repo-metadata.json, java-*/pom.xml, or .github/workflows/repository_sanity.yaml.
    • package_name_check: runs on **/*.java or .github/workflows/repository_sanity.yaml.
  • .github/workflows/versions.yaml:
    • unmanaged-versions-check: runs on **/pom.xml, generation/check_non_release_please_versions.sh, or .github/workflows/versions.yaml.
    • existing-versions-check: unchanged (Release Please PRs only).

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant