Remove branch restrictions from PR workflow triggers#309
Merged
Conversation
Removed `branches: [ main, develop ]` from `pull_request:` triggers in 10 workflow files to allow checks to run on PRs targeting any branch, not just main and develop. Co-authored-by: greenc-FNAL <2372949+greenc-FNAL@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove restriction for workflows triggering on PRs
Remove branch restrictions from PR workflow triggers
Feb 10, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates GitHub Actions workflow triggers so CI checks run for pull requests targeting any branch (not just main/develop), improving validation coverage for feature/release branch workflows.
Changes:
- Removed
branches: [ main, develop ]filters from thepull_request:trigger in 10 workflow files. - Kept
push:branch restrictions unchanged.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/actionlint-check.yaml | Allows actionlint checks to run on PRs targeting any branch. |
| .github/workflows/clang-format-check.yaml | Allows clang-format checks to run on PRs targeting any branch. |
| .github/workflows/clang-tidy-check.yaml | Allows clang-tidy checks to run on PRs targeting any branch. |
| .github/workflows/cmake-build.yaml | Allows build/test workflow to run on PRs targeting any branch. |
| .github/workflows/cmake-format-check.yaml | Allows cmake-format checks to run on PRs targeting any branch. |
| .github/workflows/codeql-analysis.yaml | Allows CodeQL analysis to run on PRs targeting any branch. |
| .github/workflows/coverage.yaml | Allows coverage workflow to run on PRs targeting any branch. |
| .github/workflows/jsonnet-format-check.yaml | Allows jsonnet format checks to run on PRs targeting any branch. |
| .github/workflows/markdown-check.yaml | Allows markdown checks to run on PRs targeting any branch. |
| .github/workflows/python-check.yaml | Allows python checks to run on PRs targeting any branch. |
knoepfel
approved these changes
Feb 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR checks were restricted to only run when targeting
mainordevelopbranches. This prevented CI validation on PRs targeting feature branches, release branches, or any other branch.Changes
Removed
branches: [ main, develop ]frompull_request:triggers in 10 workflow files:Before:
After:
Branch restrictions on
push:triggers remain unchanged.💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.