Run CI for branch pushes and pull requests - #133
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
Avoid duplicate Android matrix runs for commits pushed to branches with open pull requests.
Review effort: Lite
Findings: None
What changed in this PR
Updates CI to validate branch pushes and pull requests across package, example, publishing, and Android integration workflows.
Changes:
- Expands CI triggers to branches and pull requests.
- Adds Android integration path filtering.
- Preserves API 24, 30, and 35 coverage.
| File | Summary |
|---|---|
.github/workflows/pub_score.yml |
Runs pub-score checks on all branches. |
.github/workflows/pub_publish_dry_run.yml |
Runs publish dry runs for branches and pull requests. |
.github/workflows/integration_tests_android.yml |
Adds filtered branch and pull-request triggers. |
.github/workflows/flutter_checks.yml |
Runs Flutter checks on all branches. |
.github/workflows/flutter_build_example.yml |
Builds the example on all branches. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
nohli
force-pushed
the
ci/run-checks-on-pull-requests
branch
from
September 25, 2026 06:09
bda3851 to
aedc4ab
Compare
nohli
force-pushed
the
ci/run-checks-on-pull-requests
branch
from
September 25, 2026 07:43
9345d94 to
7766da5
Compare
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.

This runs the existing package, example, pub-score, and publish-dry-run checks for every branch push and pull request, so branch heads are validated before they are merged.
Push and pull-request runs remain separate on purpose: one validates the branch head, while the other validates GitHub's merge ref.
The Android integration matrix still covers APIs 24, 30, and 35. It skips documentation, tooling, and unit-test-only changes while continuing to run for shared Dart code, native Android code, dependencies, example runtime code, integration tests, and its own workflow.
Standard Flutter jobs allow 20 minutes for setup and cache restoration, while the analyzer, tests, and builds remain individually capped at 10 minutes.
Validated locally with Flutter 3.47.5:
This is stacked on #126 and should be merged after it.