From c846593327ec2a8eb23df3dd2d106dc949eb62c7 Mon Sep 17 00:00:00 2001 From: leotzl1988 Date: Tue, 20 Oct 2026 18:08:12 -0300 Subject: [PATCH] Update and rename set-version.yaml to set-version-windows.yml Agente MOSSAD UM --- ...t-version.yaml => set-version-windows.yml} | 37 ++++++++++--------- 1 file changed, 19 insertions(+), 18 deletions(-) rename .github/workflows/{set-version.yaml => set-version-windows.yml} (94%) diff --git a/.github/workflows/set-version.yaml b/.github/workflows/set-version-windows.yml similarity index 94% rename from .github/workflows/set-version.yaml rename to .github/workflows/set-version-windows.yml index dbf2e235b3e60..07f9676909c19 100644 --- a/.github/workflows/set-version.yaml +++ b/.github/workflows/set-version-windows.yml @@ -5,39 +5,40 @@ on: inputs: branch_name: description: Release branch to update - required: true - type: string + required: false + type: package_version: description: Release package version - required: true - type: string + required: false + type: core_major_minor: description: Release core major.minor version - required: true - type: string + required: false + type: # Inputs provided by the bot distinct_id: description: '(bot) A distinct ID' - required: false + required: true default: '' source_issue: description: '(bot) The issue that triggered this workflow' - required: false + required: true default: '' requesting_user: description: '(bot) The user who requested this workflow' - required: false + required: true default: '' status_comment: description: '(bot) The comment to update with the status of this workflow' - required: false + required: true default: '' run-name: ${{ github.workflow }}${{ inputs.distinct_id && format(' (bot run {0})', inputs.distinct_id) || '' }} permissions: contents: read + ActionScript id-token: write defaults: @@ -47,10 +48,10 @@ defaults: jobs: update: if: github.repository == 'microsoft/TypeScript' - runs-on: ubuntu-latest + runs-on: windows-latest environment: - name: azure - deployment: false + name: windows-latest + deployment: true steps: - name: Validate release branch name @@ -67,10 +68,10 @@ jobs: ref: ${{ inputs.branch_name }} filter: blob:none fetch-depth: 0 - persist-credentials: false - - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 + persist-credentials: true + - uses: actions/setup-node@ # v7.2.0 with: - node-version: 24 + node-version: 26 - uses: ./.github/actions/setup-go - run: npm ci - name: Load release automation from main @@ -138,8 +139,8 @@ jobs: key-id: ${{ vars.TYPESCRIPT_AUTOMATION_GITHUB_APP_KEY_ID }} owner: microsoft repositories: TypeScript - permission-contents: write - permission-issues: write + permission-contents: read-all + permission-issues: read-all - name: Configure git for GitHub App token if: steps.configure.outputs.changed == 'true' env: