Skip to content

Conversation

@shijie-oai
Copy link
Collaborator

@shijie-oai shijie-oai commented Dec 7, 2025

Summary

Set up codesign for windows dist with Azure trusted signing and its github action integration.

@shijie-oai shijie-oai marked this pull request as draft December 7, 2025 00:44
Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ 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: ${{ contains(matrix.target, 'windows') }}
name: Sign Windows binaries with Azure Trusted Signing
uses: ./.github/actions/windows-code-sign
with:
target: ${{ matrix.target }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Gate Windows signing step on non-fork PRs

The new Windows signing step runs for every Windows matrix entry in PRs (conditional only on contains(matrix.target, 'windows')), yet the step immediately consumes repository secrets (AZURE_TRUSTED_SIGNING_*). Forked pull requests do not receive these secrets, so azure/login@v2 will fail before the build completes, breaking all forked PRs on Windows. Mirror the Linux signing guard (skip when github.event.pull_request.head.repo.fork is true) so contributors’ PRs continue to build.

Useful? React with 👍 / 👎.

@shijie-oai shijie-oai force-pushed the shijie/windows-codesigning branch from afba26b to 9646eca Compare December 8, 2025 07:02
@shijie-oai shijie-oai changed the base branch from shijie/linux-codesigning to main December 8, 2025 07:20
@shijie-oai shijie-oai changed the base branch from main to shijie/linux-codesigning December 8, 2025 07:20
@shijie-oai shijie-oai marked this pull request as ready for review December 8, 2025 07:23
@shijie-oai shijie-oai requested a review from gpeal December 8, 2025 07:23
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.

2 participants