From ed6baad4cc393a63c2fb03ddf10553448095bfdf Mon Sep 17 00:00:00 2001 From: Dean Sheather Date: Mon, 16 Nov 2026 05:25:54 +0000 Subject: [PATCH] ci: run EV signing jobs in the code-signing environment The EV signing service account in coder-ci will only trust jobs in this repository's code-signing environment, which only main and v* tags may use (coder/github-org-terraform). Today it trusts every workflow in the repository, so any branch can sign with Coder's EV certificate. --- .github/workflows/release.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d9484b1..e4bd0f8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,6 +17,9 @@ permissions: jobs: release: + # The EV signing service account (coder-ci) only trusts jobs in this + # environment, which only main and v* tags may use. + environment: code-signing # windows-2025 is required for an up-to-date version of OpenSSL for the # appcast generation. runs-on: ${{ github.repository_owner == 'coder' && 'windows-2025-16-cores' || 'windows-2025' }}