chore(ci): override upgrade-provider action#110
Merged
Conversation
Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
Does the PR have any schema changes?Does the PR have any schema changes?Looking good! No breaking changes found. Maintainer note: consult the runbook for dealing with any breaking changes. |
ctreatma
reviewed
Jul 17, 2024
Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
ctreatma
approved these changes
Jul 17, 2024
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.
upgrade-provider tool tries to assign the PR to the user who created it. Since we don't have an Equinix bot user, we are using the GITHUB_TOKEN. This results in an error when trying to assign the PR to the user of the token (github-action). As a workaround we override the assign user. The pulumi-upgrade-provider-action does not have this option so we temporarily overwrite the action locally with a pr-assign input that takes
github.actorby default.ERROR: GraphQL: Could not resolve to a User with the login of 'github-actions[bot]'. (u000)
https://github.com/equinix/pulumi-equinix/actions/runs/9976483769/job/27568775953