Skip to content

Skip lint on push-to-tag builds#500

Merged
bschwedler merged 2 commits into
mainfrom
ci/lint-pr-only
Apr 28, 2026
Merged

Skip lint on push-to-tag builds#500
bschwedler merged 2 commits into
mainfrom
ci/lint-pr-only

Conversation

@bschwedler
Copy link
Copy Markdown
Contributor

Summary

  • Adds if guard to lint job so it only runs on pull_request and merge_group events
  • Adds lint to allowed-skips so the CI gate passes on tag pushes

Pre-commit is a PR-time check. Running it on tag pushes wastes time — the code already passed lint on the PR.

Test plan

  • CI passes on this PR (lint runs)
  • Tag push builds skip lint without failing the CI gate

Pre-commit is a PR-time check. Skip it on tag pushes and
add it to allowed-skips so the CI gate still passes.
@bschwedler bschwedler requested a review from ianpittwood as a code owner April 28, 2026 20:57
Callers cannot set timeout-minutes on reusable workflow
jobs, so set it inside the workflow itself.
@bschwedler bschwedler merged commit 1ae2702 into main Apr 28, 2026
11 of 13 checks passed
@bschwedler bschwedler deleted the ci/lint-pr-only branch April 28, 2026 21:05
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