From 1bc4950566e9bbf2f87e0db19424e13f4180a271 Mon Sep 17 00:00:00 2001 From: kuddev Date: Tue, 22 Sep 2026 11:09:41 +0800 Subject: [PATCH] ci: run the ARM64 diagnostics on branch pushes --- .github/workflows/windows-arm64-diagnostics.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows-arm64-diagnostics.yml b/.github/workflows/windows-arm64-diagnostics.yml index 74716ee..6f9abec 100644 --- a/.github/workflows/windows-arm64-diagnostics.yml +++ b/.github/workflows/windows-arm64-diagnostics.yml @@ -7,11 +7,21 @@ on: description: Release run whose stable-package-windows-arm64 artifact should be diagnosed required: true type: string + push: + branches: [release/1.9.0-final] + paths: + - .github/workflows/windows-arm64-diagnostics.yml + - scripts/conformance/conpty_smoke.py permissions: contents: read actions: read +env: + # Dispatch is only available once the workflow exists on the default branch; + # branch pushes diagnose the latest ARM64 package produced by the release run. + PACKAGE_RUN: ${{ inputs.package_run || '35618479129' }} + jobs: diagnose: runs-on: windows-11-arm @@ -28,7 +38,7 @@ jobs: - uses: actions/download-artifact@v4 with: name: stable-package-windows-arm64 - run-id: ${{ inputs.package_run }} + run-id: ${{ env.PACKAGE_RUN }} github-token: ${{ github.token }} path: diagnostic-package - name: Extract the portable package