Skip to content

chore(ci): fix release attribution#461

Open
Piccirello wants to merge 1 commit intomasterfrom
tom/fix-release-attribution
Open

chore(ci): fix release attribution#461
Piccirello wants to merge 1 commit intomasterfrom
tom/fix-release-attribution

Conversation

@Piccirello
Copy link
Member

The release should now be attributed to the GitHub App that's used, rather than github-actions. But for real this time.

The release should now be attribute to the GitHub App that's used, rather than github-actions. But for real this time.
Comment on lines -200 to +194
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ steps.releaser.outputs.token }}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course attribution wasn't working, we were passing the wrong token.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rafaeelaudibert sanity check: was there an explicit reason this uses the default GITHUB_TOKEN?

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Mar 10, 2026

Last reviewed commit: 63fd980

Comment on lines 69 to 72
permissions:
contents: write
actions: write
id-token: write
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I audited whether we could remove contents and actions perms, but it looks like the "Dispatch generate-references" step may still need them.

@github-actions
Copy link
Contributor

posthog-python Compliance Report

Date: 2026-03-10 21:44:12 UTC
Duration: 159377ms

✅ All Tests Passed!

29/29 tests passed


Capture Tests

29/29 tests passed

View Details
Test Status Duration
Format Validation.Event Has Required Fields 517ms
Format Validation.Event Has Uuid 1507ms
Format Validation.Event Has Lib Properties 1507ms
Format Validation.Distinct Id Is String 1507ms
Format Validation.Token Is Present 1507ms
Format Validation.Custom Properties Preserved 1507ms
Format Validation.Event Has Timestamp 1507ms
Retry Behavior.Retries On 503 9519ms
Retry Behavior.Does Not Retry On 400 3505ms
Retry Behavior.Does Not Retry On 401 3508ms
Retry Behavior.Respects Retry After Header 9513ms
Retry Behavior.Implements Backoff 23530ms
Retry Behavior.Retries On 500 7505ms
Retry Behavior.Retries On 502 7507ms
Retry Behavior.Retries On 504 7512ms
Retry Behavior.Max Retries Respected 23527ms
Deduplication.Generates Unique Uuids 1504ms
Deduplication.Preserves Uuid On Retry 7513ms
Deduplication.Preserves Uuid And Timestamp On Retry 14523ms
Deduplication.Preserves Uuid And Timestamp On Batch Retry 7503ms
Deduplication.No Duplicate Events In Batch 1508ms
Deduplication.Different Events Have Different Uuids 1507ms
Compression.Sends Gzip When Enabled 1507ms
Batch Format.Uses Proper Batch Structure 1507ms
Batch Format.Flush With No Events Sends Nothing 1005ms
Batch Format.Multiple Events Batched Together 1505ms
Error Handling.Does Not Retry On 403 3509ms
Error Handling.Does Not Retry On 413 3506ms
Error Handling.Retries On 408 7515ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant