Skip to content

chore: fixes release pipeline's GITHUB_TOKEN #2271

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

Merged
merged 1 commit into from
Aug 18, 2023
Merged

chore: fixes release pipeline's GITHUB_TOKEN #2271

merged 1 commit into from
Aug 18, 2023

Conversation

petethepig
Copy link
Collaborator

cc @simonswine

I figured this might be the issue we saw with weekly releases — but they work now, so I'm not sure.

@petethepig petethepig requested a review from a team as a code owner August 18, 2023 04:46
@@ -59,7 +59,7 @@ jobs:
version: latest
args: release --rm-dist --timeout 60m
env:
GITHUB_TOKEN: ${{ steps.app-releaser.outputs.token }}
GITHUB_TOKEN: ${{ steps.app-goreleaser.outputs.token }}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Id on line 50 is app-goreleaser

Copy link
Contributor

@simonswine simonswine left a comment

Choose a reason for hiding this comment

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

LGTM

Unsure what weekly release issue you mean, but this workflow is not run during weekly release, it is only run for tagged OSS releases. I also would not expect this to be able to run with the id mismatch this PR fixes 🙂

The last weekly release seems to have ran fine: https://github.com/grafana/pyroscope/actions/runs/5880951980/job/15948379744

@petethepig
Copy link
Collaborator Author

@simonswine Yeah, sorry I should have clarified what I meant.

What I mean is that there's the same ID mismatch in the weekly-release file as well: https://github.com/grafana/pyroscope/blob/next/.github/workflows/weekly-release.yml#L59

But you're right, that one does work, so I didn't update it. It's a bit of a mystery to me why the weekly one works, because the regular one did not, and that's why i'm fixing it here.

I guess I won't touch the other one since it works.

@petethepig petethepig merged commit 730614c into next Aug 18, 2023
@petethepig petethepig deleted the release-fix branch August 18, 2023 21: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.

3 participants