From bd2f793ad4a03537b0125f1d26c2171b00f2b3bf Mon Sep 17 00:00:00 2001 From: halfaipg Date: Wed, 29 Jul 2026 16:01:58 -0400 Subject: [PATCH] Fix latest-release promotion outside a checkout --- .github/workflows/promote.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml index f11b321..723dbbb 100644 --- a/.github/workflows/promote.yml +++ b/.github/workflows/promote.yml @@ -41,6 +41,9 @@ jobs: - name: Mark the matching GitHub release as latest run: | VERSION="${GITHUB_REF_NAME#promote-latest-v}" - gh release edit "v$VERSION" --prerelease=false --latest + gh release edit "v$VERSION" \ + --repo "$GITHUB_REPOSITORY" \ + --prerelease=false \ + --latest env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}