Skip to content

ci: run tests only on pull requests, not push to main - #87

Merged
nitzano merged 1 commit into
mainfrom
ci/tests-on-pr-only
Aug 6, 2026
Merged

nitzano merged 1 commit into
mainfrom
ci/tests-on-pr-only

Conversation

@nitzano

@nitzano nitzano commented Aug 3, 2026

Copy link
Copy Markdown
Owner

Summary

The Test workflow (.github/workflows/lint.yml) triggered on both push to main and pull_request to main. This caused the lint/test/build jobs to run twice for every merged PR — once on the PR and again on the resulting push to main.

This removes the push trigger, so tests run only on pull requests.

Changes

  • Drop push.branches: [main] from the Test workflow triggers, keeping pull_request.

🤖 Generated with Claude Code

The Test workflow triggered on both push to main and pull_request to
main, causing tests to run twice for every merged PR. Drop the push
trigger so tests run once, on the PR.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@nitzano
nitzano merged commit 2970f97 into main Aug 6, 2026
3 checks passed
@nitzano
nitzano deleted the ci/tests-on-pr-only branch August 6, 2026 05:37
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