[codex] Add GitHub release asset pipeline mode - #21
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e575b7f7ab
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if [ -z "${AZURE_DEVOPS_TOKEN_OPENUPM_PIPELINE:-}" ]; then | ||
| echo "AZURE_DEVOPS_TOKEN_OPENUPM_PIPELINE is not configured; skipping Azure E2E." | ||
| exit 0 | ||
| echo "AZURE_DEVOPS_TOKEN_OPENUPM_PIPELINE is required for Azure E2E." | ||
| exit 1 |
There was a problem hiding this comment.
Skip Azure E2E when PAT secret is missing
Failing the workflow when AZURE_DEVOPS_TOKEN_OPENUPM_PIPELINE is unset will break pull_request runs that do not receive repository secrets (for example, fork PRs or bot-originated PRs), causing CI to fail even when code changes are valid. This is a regression from the previous behavior that explicitly skipped Azure E2E without failing, and it conflicts with the documented expectation that the Azure E2E job runs only when that secret is available.
Useful? React with 👍 / 👎.
Summary
Adds a
githubReleasepackage source mode for Azure package publishing. In this mode the queue provides an exact release asset URL/name and the pipeline downloads that tarball directly instead of cloning and packing the repository.Changes
packageSource,packageAssetUrl, andpackageAssetNamepipeline parameters..tgz/.tar.gzpackage artifacts before publish, including archive shape andpackage.jsonname/version.Validation