ci: add public release mirror workflow#630
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 24ab298fcc
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
|
||
| jobs: | ||
| mirror-release: | ||
| runs-on: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.id != github.event.repository.id && 'ubuntu-latest' || (github.event_name == 'pull_request' && 'evalops-private-ci' || (vars.INTERNAL_CONFIRMATION_RUNNER || 'evalops-internal')) }} |
There was a problem hiding this comment.
Select runner by repository, not pull_request-only logic
The runs-on expression always resolves to vars.INTERNAL_CONFIRMATION_RUNNER || 'evalops-internal' for this workflow’s actual triggers (push tags and workflow_dispatch), because both branches of the ternary guarded by github.event_name == 'pull_request' are unreachable here. In the public repo this skips the normal public fallback (vars.PUBLIC_PR_VALIDATION_RUNNER || 'ubuntu-latest') used by other release workflows, so release-mirror runs can be stranded on an internal-only label instead of executing.
Useful? React with 👍 / 👎.
Summary
Validation
Staged rollout
Staging is unnecessary: this PR only adds the public repository's release mirror fallback workflow and does not change runtime product behavior.