Skip to content

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

Open
lqiu96 wants to merge 1 commit into
ci/blobless-checkout-lintfrom
ci/skip-checkout-paths-filter
Open

lqiu96 wants to merge 1 commit into
ci/blobless-checkout-lintfrom
ci/skip-checkout-paths-filter

Conversation

@lqiu96

@lqiu96 lqiu96 commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

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.

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