From 405ef3496dc8bbb4634d6ef2bbf573355d01be08 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 19 May 2026 01:57:15 +0000 Subject: [PATCH 1/3] fix(ci): run release job on main pushes Agent-Logs-Url: https://github.com/InterestingSoftware/SproutGit/sessions/3e471ce1-0819-413a-8f76-d8a0eb82dedd Co-authored-by: liam-russell <17897133+liam-russell@users.noreply.github.com> --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea1abb8..3bee968 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -250,7 +250,7 @@ jobs: # ── Release ─────────────────────────────────────────────────────────────── release: name: Create release - if: startsWith(github.ref, 'refs/tags/v') + if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') needs: [build, e2e] runs-on: ubuntu-latest permissions: @@ -262,6 +262,8 @@ jobs: merge-multiple: true - uses: softprops/action-gh-release@v2 with: + tag_name: ${{ github.ref == 'refs/heads/main' && format('main-{0}', github.run_number) || github.ref_name }} + name: ${{ github.ref == 'refs/heads/main' && format('Main build {0}', github.run_number) || github.ref_name }} files: artifacts/** generate_release_notes: true - prerelease: ${{ contains(github.ref_name, '-') }} + prerelease: ${{ github.ref == 'refs/heads/main' || contains(github.ref_name, '-') }} From f744a4b9fa6d4e5c91c9493577b8076a76080686 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 19 May 2026 02:02:13 +0000 Subject: [PATCH 2/3] chore: finalize release workflow fix validation Agent-Logs-Url: https://github.com/InterestingSoftware/SproutGit/sessions/3e471ce1-0819-413a-8f76-d8a0eb82dedd Co-authored-by: liam-russell <17897133+liam-russell@users.noreply.github.com> --- website/.astro/types.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/website/.astro/types.d.ts b/website/.astro/types.d.ts index f964fe0..03d7cc4 100644 --- a/website/.astro/types.d.ts +++ b/website/.astro/types.d.ts @@ -1 +1,2 @@ /// +/// \ No newline at end of file From 68a7c28bf911395de0c293c24b5e905c155d8a42 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 19 May 2026 02:02:30 +0000 Subject: [PATCH 3/3] chore: remove unintended generated file update Agent-Logs-Url: https://github.com/InterestingSoftware/SproutGit/sessions/3e471ce1-0819-413a-8f76-d8a0eb82dedd Co-authored-by: liam-russell <17897133+liam-russell@users.noreply.github.com> --- website/.astro/types.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/website/.astro/types.d.ts b/website/.astro/types.d.ts index 03d7cc4..f964fe0 100644 --- a/website/.astro/types.d.ts +++ b/website/.astro/types.d.ts @@ -1,2 +1 @@ /// -/// \ No newline at end of file