Skip to content

ci: run Tests and OSV on pull requests only - #50

Merged
tbaur merged 1 commit into
mainfrom
ci/pr-only-checks
Aug 30, 2026
Merged

tbaur merged 1 commit into
mainfrom
ci/pr-only-checks

Conversation

@tbaur

@tbaur tbaur commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Summary

main is protected. Every change already comes through a PR, so Tests and OSV on push to main were a second run of the same tree.

  • Tests (and Lint, where it exists) now run on pull_request and merge_group only
  • OSV keeps the PR check and the weekly scan; it no longer runs on merge
  • Release is unchanged: it is the only workflow that starts on a push to main

CodeQL is left alone. Its main run is the security-tab baseline, not a duplicate test.

ci: so this does not cut a release.

Test plan

  • PR shows Tests (and OSV where present)
  • After merge, Actions shows Release (and CodeQL if configured), not a second Tests/OSV

main is protected and every change already arrives through a PR. Running
the same checks again on the merge was a second bill for the same tree.
Release stays on push to main: that is the workflow that tags and
publishes. The publish job still builds, lints and tests before npm
publish.

OSV's weekly scan still updates the security tab.
@tbaur
tbaur merged commit 17d7c0f into main Aug 30, 2026
7 checks passed
@tbaur
tbaur deleted the ci/pr-only-checks branch August 30, 2026 22:52
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