Skip to content

ci: Run checks only for main-targeting pull requests - #88

Merged
4ndreello merged 1 commit into
mainfrom
ci/run-tests-on-main-prs
Sep 18, 2026
Merged

4ndreello merged 1 commit into
mainfrom
ci/run-tests-on-main-prs

Conversation

@4ndreello

Copy link
Copy Markdown
Owner

Remove the push trigger for main and run CI only for pull requests targeting main or master.

This avoids rerunning the full CI suite after changes land on the default branch while keeping checks on proposed changes entering either supported default branch.

A push-based workflow cannot know a pull request base branch, so the trigger is scoped through pull_request.branches.

Stop rerunning CI after direct pushes to main and limit pull request checks to the repository's main branches.

Co-Authored-By: Claude <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@4ndreello
4ndreello marked this pull request as ready for review September 18, 2026 01:06
@4ndreello
4ndreello merged commit 24e8599 into main Sep 18, 2026
4 checks passed
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