Repository navigation
ci: Skip package signing on pull requests as intended - #1080
Conversation
The signing step's condition was indented under env, so the pipeline read it as an environment variable and the step always ran. Pull requests from forks have no signing secrets and failed on an invalid tenant id.
There was a problem hiding this comment.
🟢 Approval recommended
The change correctly applies the existing skip condition at the Azure Pipelines task level.
Copilot wasn't able to review any files in this pull request.
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
|
For context: this is what is failing |
|
This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again. |
Fixes #1079
What is the current behavior?
The
Authenticode Sign Packagesstep inbuild/ci/stage-build-packages.ymlhas itscondition:indented underenv:, so Azure Pipelines treats it as an environment variable and the step always runs. Pull requests from forks have no signing secrets, so the step fails withInvalid tenant id providedand thePackages Windowsjob goes red, as on #1077.What is the new behavior?
The
condition:is at the task level, so the step is skipped on pull requests and when the signing secrets are empty, which is what the condition already said.Validation
This PR comes from a fork, so its own
Packages Windowsjob is the test: the signing step should now be skipped and the job should pass.