Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Generate installation token for GoReleaser #26

Merged
merged 2 commits into from
Jul 1, 2022
Merged

fix: Generate installation token for GoReleaser #26

merged 2 commits into from
Jul 1, 2022

Conversation

rossf7
Copy link
Contributor

@rossf7 rossf7 commented Jul 1, 2022

Fixes a problem with publishing releases to https://github.com/thegreenwebfoundation/homebrew-carbon-aware-tools
The current steps generate a token but it expires after 1 hour and it isn't possible to increase the TTL 🤦‍♂️

This fix uses the github action below to generate a new token each time we publish a release.
https://github.com/getsentry/action-github-app-token

Sadly there isn't really a way to test this without creating a 0.2.1 release.

@rossf7 rossf7 marked this pull request as ready for review July 1, 2022 10:22
@rossf7 rossf7 requested a review from mrchrisadams July 1, 2022 10:22
Copy link
Member

@mrchrisadams mrchrisadams left a comment

Choose a reason for hiding this comment

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

I'm happy with this. :shipit:

@rossf7 rossf7 merged commit e1e6c2a into main Jul 1, 2022
@rossf7 rossf7 deleted the app-token branch July 1, 2022 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants