Skip to content

ci: skip repository checkout in PR paths-filter jobs - #15380

Merged
lqiu96 merged 1 commit into
mainfrom
ci/skip-checkout-paths-filter
Dec 2, 2026
Merged

lqiu96 merged 1 commit into
mainfrom
ci/skip-checkout-paths-filter

Conversation

@lqiu96

@lqiu96 lqiu96 commented Dec 2, 2026

Copy link
Copy Markdown
Member

Skip actions/checkout on pull_request events across all 30 PR dorny/paths-filter jobs (29 workflows) so they use the GitHub Pull Requests API without cloning the monorepo:

  • On 11 pull_request-only workflows (12 jobs), remove the actions/checkout step and ensure permissions: pull-requests: read.
  • On 18 multi-trigger workflows (push or workflow_dispatch alongside pull_request), guard actions/checkout with if: ${{ github.event_name != 'pull_request' }} and set permissions: contents: read, pull-requests: read.

@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.

@lqiu96
lqiu96 added this pull request to stack #15366 December 2, 2026 04:51
@lqiu96
lqiu96 force-pushed the ci/skip-checkout-paths-filter branch from dafc278 to 6cd106a Compare December 2, 2026 16:27
@lqiu96
lqiu96 requested a review from jinseopkim0 December 2, 2026 17:31
@lqiu96
lqiu96 marked this pull request as ready for review December 2, 2026 17:31
@lqiu96
lqiu96 requested review from a team as code owners December 2, 2026 17:31
@lqiu96
lqiu96 force-pushed the ci/skip-checkout-paths-filter branch from 6cd106a to e68125e Compare December 2, 2026 18:04
@lqiu96
lqiu96 force-pushed the ci/skip-checkout-paths-filter branch from e68125e to a63a40e Compare December 2, 2026 19:04
@lqiu96
lqiu96 enabled stacked auto-merge (squash) December 2, 2026 19:08
@lqiu96
lqiu96 disabled stacked auto-merge December 2, 2026 20:21
Base automatically changed from ci/blobless-checkout-lint to main December 2, 2026 20:21
@lqiu96
lqiu96 force-pushed the ci/skip-checkout-paths-filter branch from a63a40e to 7f5b0f2 Compare December 2, 2026 20:21
@sonarqubecloud

sonarqubecloud Bot commented Dec 2, 2026

Copy link
Copy Markdown

@sonarqubecloud

sonarqubecloud Bot commented Dec 2, 2026

Copy link
Copy Markdown

@lqiu96
lqiu96 merged commit 6042b5d into main Dec 2, 2026
222 checks passed
@lqiu96
lqiu96 deleted the ci/skip-checkout-paths-filter branch December 2, 2026 21:43
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.

2 participants