You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.github/workflows/release.yml, line 197-202 (link)
Create GitHub Release step still uses the default actions token
The "Tag release" step was updated to use steps.releaser.outputs.token (the releaser GitHub App token), which will correctly attribute the annotated tag object to releaser-posthog-python. However, the "Create GitHub Release" step still uses secrets.GITHUB_TOKEN — the default github-actions app token.
On GitHub's releases page, the "Released by" attribution is determined by the actor that calls the create-release API endpoint (i.e. whoever authenticates gh release create). With the default actions token still in use here, the release page will continue showing github-actions as the author rather than releaser-posthog-python.
If the intent is to have the full release attributed to releaser-posthog-python, this step should also use steps.releaser.outputs.token as GH_TOKEN instead of the default token.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Releases are still attributed to github-actions, but this change should result in future releases being attributed to releaser-posthog-python.
Example: https://github.com/PostHog/posthog-python/releases/tag/v7.9.9