From a15b6bac039a2c01f28bccb8930aef1a83e2aea3 Mon Sep 17 00:00:00 2001 From: Tym Rabchuk Date: Tue, 19 May 2026 10:50:02 -0400 Subject: [PATCH] Add checkout to release publish job Without actions/checkout, gh release edit fails with "fatal: not a git repository" because it can't infer the repo from git context. Matches core devkit's publish job structure. --- .github/workflows/release.yml | 2 ++ CHANGELOG.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6880793..a7229e4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -172,6 +172,8 @@ jobs: if: needs.create-release.outputs.release_created == 'true' runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 + - name: Publish release env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 75db5a6..e0785c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,3 +41,5 @@ Initial public release of the Codex adapter for devkit. Previously `git describe ... | sed ... || echo 0.0.0` ignored `git describe`'s failure because the `||` saw `sed`'s success on empty input, leaving `LATEST_TAG` empty and producing `version=..1` on the first release. +- Release `publish` job now checks out the repo so `gh release edit` can + resolve the target repository from git context.