fix(ci): make workflow gates fork-aware for external PRs#82
Closed
FlowElement-ai wants to merge 2 commits intomainfrom
Closed
fix(ci): make workflow gates fork-aware for external PRs#82FlowElement-ai wants to merge 2 commits intomainfrom
FlowElement-ai wants to merge 2 commits intomainfrom
Conversation
added 2 commits
April 17, 2026 14:55
GitHub Actions does not allow using the secrets context in a job-level if expression for this workflow validation path. Add a precheck step and gate later steps via its output instead. Made-with: Cursor
Prevent fork PRs from failing due to unavailable trusted secrets by adding lightweight fork checks and conditional CI aggregation, while keeping full strict gates for trusted contexts. Made-with: Cursor
Owner
Author
|
Closing in favor of #83 (same code diff, DCO-compliant signed commit). |
Owner
Author
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.
Summary
core-tests,e2e, andcliso fork PRs do not require trusted secrets.fork-litejob (ruff check + ruff format --check) to keep basic quality signal on fork PRs.ci-statusaggregation fork-aware and skip release load-suite on fork PRs to avoid false-red due to secret restrictions.Test plan
.github/workflows/test_suites.ymland.github/workflows/release_test.yml.ci-statusbehavior for fork/non-fork contexts).Made with Cursor