You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ci): skip windows signing without secrets (#3186)
The fork guard never fired for Dependabot PRs, so Windows builds tried
to sign with empty Azure credentials and hung until the 40 minute job
timeout. Gate on whether the credential is present instead of matching
on trigger type, which covers forks, Dependabot, and any future
secret-less trigger on one path.
Dependabot pushes its branches into the repo, so head.repo.fork is
false, yet its runs only get the Dependabot secrets store and
secrets.AZURE_* expand to empty strings. electron-builder 26.15.2
dropped the preflight that used to fail fast on this
(electron-userland/electron-builder#9687), so Invoke-TrustedSigning
falls through DefaultAzureCredential to an interactive browser login
the runner can never answer.
The probe step exists because steps[*].if cannot read the secrets
context. Scoping the secret to that step keeps it out of every other
step in the job.
0 commit comments