From 0d28a5eca00fe06495cfde77b6ded093ab35112a Mon Sep 17 00:00:00 2001 From: Petr Date: Wed, 19 Aug 2026 10:42:26 -0400 Subject: [PATCH] ci: disable the winget release job until the package is bootstrapped in winget-pkgs --- .github/workflows/release-kbagent.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-kbagent.yml b/.github/workflows/release-kbagent.yml index 9d627ee0..405bd506 100644 --- a/.github/workflows/release-kbagent.yml +++ b/.github/workflows/release-kbagent.yml @@ -493,9 +493,18 @@ jobs: choco push "keboola-cli2.$env:VERSION.nupkg" -s https://push.chocolatey.org # ── WinGet: submit a PR to microsoft/winget-pkgs via wingetcreate. + # + # DISABLED (if: false): `wingetcreate update` fails on every tag because the + # `Keboola.KeboolaCLI2` package has never had its FIRST submission to + # microsoft/winget-pkgs -- there is no manifest to update, so the job has been + # red on every release since it was added, masking real failures. Re-enable by + # restoring the original condition (kept below) AFTER the bootstrap submission + # lands; see the NOTE in the first step for what that submission must contain. winget: needs: [version, chocolatey, publish-s3] - if: needs.version.outputs.IS_PRERELEASE == 'false' && startsWith(github.ref, 'refs/tags/') + # Original condition, restore when re-enabling: + # needs.version.outputs.IS_PRERELEASE == 'false' && startsWith(github.ref, 'refs/tags/') + if: false runs-on: windows-latest environment: release env: