fix(ci): use default GITHUB_TOKEN for collect-lime-results PR - #85
Merged
Conversation
TESTBED_UTILS_TOKEN only exists in lime-packages (writing into this repo). The collect workflow runs the other direction, so use the auto-provided GITHUB_TOKEN, which already has pull-requests:write and contents:write thanks to the permissions block.
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.
Summary
Switches `peter-evans/create-pull-request` and `gh pr merge --auto` from `TESTBED_UTILS_TOKEN` (which doesn't exist in this repo) to the auto-provided `GITHUB_TOKEN`.
Why
First retry of the workflow with the PR-based flow failed: "Input 'token' not supplied". `TESTBED_UTILS_TOKEN` is the secret in lime-packages that lets that repo write into this one; here we don't have it, and we don't need a PAT — the workflow already declares `contents: write` and `pull-requests: write`, which the default GITHUB_TOKEN honours.
Test plan