From bd33bb9cc73438d63b1e6be66e096fec102c9ff4 Mon Sep 17 00:00:00 2001 From: OpenSauce Date: Sun, 26 Jul 2026 13:54:54 +0100 Subject: [PATCH] fix(ci): give the release-notes job a repo to talk to The notes job runs without actions/checkout, so gh had no git remote to infer the repository from and died with "fatal: not a git repository" before it could edit the release. GH_REPO tells gh directly, which is cheaper than checking out the tree just to name a repo. The bundle uploads in the same run all succeeded, including the Windows one that the shell: bash fix repaired, so only the notes step was affected. v0.3.0's notes were applied by hand; this makes the next release do it on its own. --- .github/workflows/plugin-release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/plugin-release.yml b/.github/workflows/plugin-release.yml index 8c4e91c..048f1e0 100644 --- a/.github/workflows/plugin-release.yml +++ b/.github/workflows/plugin-release.yml @@ -160,6 +160,10 @@ jobs: - name: Append plugin download table env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # This job has no actions/checkout, so gh cannot infer the repo from a + # git remote — without GH_REPO it fails with "not a git repository". + # Setting it is cheaper than checking out the tree just to name a repo. + GH_REPO: ${{ github.repository }} run: | set -euo pipefail body="$(gh release view "$RELEASE_TAG" --json body --jq '.body')"