From 769ba1798f2d32f17040877488130fe33f07c04f Mon Sep 17 00:00:00 2001 From: Thomas Piccirello Date: Tue, 10 Mar 2026 14:08:29 -0700 Subject: [PATCH 1/2] fix(ci): attribute release tag to GitHub App --- .github/workflows/release.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2d71a0e5..33963a26 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -184,9 +184,15 @@ jobs: NEW_VERSION: ${{ steps.sampo-release.outputs.new_version }} COMMIT_HASH: ${{ steps.commit-release.outputs.commit-hash }} run: | + TAG_SHA=$(gh api "repos/${{ github.repository }}/git/tags" \ + -f "tag=v${NEW_VERSION}" \ + -f "message=Release v${NEW_VERSION}" \ + -f "object=${COMMIT_HASH}" \ + -f "type=commit" \ + -q '.sha') gh api "repos/${{ github.repository }}/git/refs" \ - -f "ref=refs/tags/v$NEW_VERSION" \ - -f "sha=$COMMIT_HASH" + -f "ref=refs/tags/v${NEW_VERSION}" \ + -f "sha=${TAG_SHA}" - name: Create GitHub Release if: steps.commit-release.outputs.commit-hash != '' From 2b24f0812d9bdef81bc8279e3118dcddf72a8341 Mon Sep 17 00:00:00 2001 From: Thomas Piccirello Date: Tue, 10 Mar 2026 14:17:52 -0700 Subject: [PATCH 2/2] Add changeset for release --- .sampo/changesets/roguish-runesmith-ukko.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .sampo/changesets/roguish-runesmith-ukko.md diff --git a/.sampo/changesets/roguish-runesmith-ukko.md b/.sampo/changesets/roguish-runesmith-ukko.md new file mode 100644 index 00000000..f1874ebd --- /dev/null +++ b/.sampo/changesets/roguish-runesmith-ukko.md @@ -0,0 +1,5 @@ +--- +pypi/posthog: patch +--- + +chore(ci): attribute release tag to GitHub App