ci: do not build solver for docs only PR#2419
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adjusts GitHub Actions pull request workflow triggers so that solver/quickstarts/secure CI workflows do not run when a PR only changes files under docs/, relying instead on the dedicated documentation preview workflow.
Changes:
- Add
docs/**topaths-ignorein the base PR workflow to avoid running the full solver CI matrix for docs-only PRs. - Add
docs/**topaths-ignorein the secured PR workflow to avoid running secret-bearing jobs for docs-only PRs. - Add
docs/**topaths-ignorein the quickstarts PR workflow to avoid running quickstarts CI for docs-only PRs.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/pull_request.yml | Skips the solver CI matrix on PRs that only change docs/**. |
| .github/workflows/pull_request_secure.yml | Skips secured pull_request_target jobs on docs-only PRs. |
| .github/workflows/pull_request_quickstarts.yml | Skips quickstarts CI on docs-only PRs. |
cb6bab1 to
59b8dfa
Compare
triceo
approved these changes
Jun 25, 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.



Currently, when doing a PR just for docs, it still builds the entire matrix of the solver.
This is highly ineffecient. This PR seeks to resolve that, by excluding PRs involving only changes in docs/