[XELP] Create the release with the workflow token - #6
Merged
Conversation
GH_PAT has expired, so gh release create fails with an HTTP 401 and the run ends red even though the VSIX has already been built, committed to xelp/dist and tagged. The job already requests contents: write, which is all that creating a release needs, so the workflow token can do it without a stored secret to renew.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
GH_PAThas expired, sogh release createfails with an HTTP 401 and the shadow releaseends red even though it has already built the VSIX, committed it to
xelp/distand pushedthe tag. That is what happened on the
2.61.202608282run: the VSIX is in place and usable,only the GitHub Release entry is missing.
The job already requests
contents: write, which is all creating a release needs, so theworkflow token can do it and there is no stored secret left to renew.
Testing