Draft
Add Windows binary signing with Azure Trusted Signing to CI workflow#106
Conversation
- Add id-token: write permission for Azure OIDC login - Fix startswith to startsWith (correct case) - Add Azure login step for Windows signing - Add Windows EXE signing step with Azure Trusted Signing Co-authored-by: Amund211 <14028449+Amund211@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add code to enable signing the windows binary in testing workflow
Add Windows binary signing with Azure Trusted Signing to CI workflow
Jan 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enables code signing for Windows executables in the testing workflow using Azure's Trusted Signing service with OIDC authentication.
Changes
id-token: writefor Azure authenticationstartswith→startsWith(GitHub Actions requirement)The signing occurs after binary creation and before artifact upload, ensuring only signed executables are distributed.
Requires Azure secrets to be configured:
AZURE_CLIENT_ID,AZURE_TENANT_ID,AZURE_SUBSCRIPTION_ID,AZURE_CODESIGNING_ENDPOINT,AZURE_CODESIGNING_ACCOUNT_NAME, andAZURE_CODESIGNING_CERT_PROFILE_NAME.Original prompt
Add this code to the testing workflow to enable signing the windows binary
name: Python testing
permissions:
contents: read
id-token: write # needed for Azure OIDC login
on: [push, workflow_dispatch]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-15]
defaults:
run:
shell: bash # For
sourcesteps:
- uses: actions/checkout@v6
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.