From 2af72934b8234dc26833c8e71c8325ece369c265 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sat, 8 Nov 2025 19:46:09 +0200 Subject: [PATCH] ci: `gh release create` needs a checkout Not sure why, but it failed without one in CI: ``` $ gh release create --notes-file gh-release-notes.md --verify-tag "$VERSION" dist/* failed to run git: fatal: not a git repository (or any of the parent directories): .git ``` --- .github/workflows/deploy.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 176daa1b4d7..ad7cc029c5e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -120,6 +120,11 @@ jobs: permissions: contents: write steps: + - uses: actions/checkout@v5 + with: + fetch-depth: 0 + persist-credentials: true + - name: Download Package uses: actions/download-artifact@v6 with: