Skip to content

chore(ci): override upgrade-provider action#110

Merged
ocobles merged 2 commits into
mainfrom
fix-upgrade-provider-action
Jul 17, 2024
Merged

chore(ci): override upgrade-provider action#110
ocobles merged 2 commits into
mainfrom
fix-upgrade-provider-action

Conversation

@ocobles

@ocobles ocobles commented Jul 17, 2024

Copy link
Copy Markdown
Contributor

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.actor by 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

Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
@github-actions

Copy link
Copy Markdown

Does the PR have any schema changes?

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Maintainer note: consult the runbook for dealing with any breaking changes.

Comment thread .github/actions/upgrade-provider/action.yml Outdated
Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
@ocobles ocobles merged commit da5de92 into main Jul 17, 2024
@ocobles ocobles deleted the fix-upgrade-provider-action branch July 17, 2024 19:01
@ocobles ocobles restored the fix-upgrade-provider-action branch July 17, 2024 19:11
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