Skip to content

fix(ci): make workflow gates fork-aware for external PRs#82

Closed
FlowElement-ai wants to merge 2 commits intomainfrom
fix/load-tests-no-secrets-in-job-if
Closed

fix(ci): make workflow gates fork-aware for external PRs#82
FlowElement-ai wants to merge 2 commits intomainfrom
fix/load-tests-no-secrets-in-job-if

Conversation

@FlowElement-ai
Copy link
Copy Markdown
Owner

Summary

  • Add fork-aware conditions to core-tests, e2e, and cli so fork PRs do not require trusted secrets.
  • Introduce a fork-lite job (ruff check + ruff format --check) to keep basic quality signal on fork PRs.
  • Make ci-status aggregation fork-aware and skip release load-suite on fork PRs to avoid false-red due to secret restrictions.

Test plan

  • Validate YAML parsing for updated workflows.
  • Verify git diff only includes .github/workflows/test_suites.yml and .github/workflows/release_test.yml.
  • Observe GitHub Actions results on this PR after creation (especially ci-status behavior for fork/non-fork contexts).

Made with Cursor

Junting Hua 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
@FlowElement-ai
Copy link
Copy Markdown
Owner Author

Closing in favor of #83 (same code diff, DCO-compliant signed commit).

@FlowElement-ai
Copy link
Copy Markdown
Owner Author

Superseded by #83 to satisfy DCO with a signed commit while keeping the exact same code changes. Please review/merge #83 instead.

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