-
Notifications
You must be signed in to change notification settings - Fork 1
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
does not fail on error #130
Labels
Milestone
Comments
omercnet
added
kind/bug
Some behavior is incorrect or out of spec
needs-triage
Needs attention from the triage team
labels
Aug 28, 2023
Hi @omercnet. Thank for opening this issue. This is definitely the wrong behavior. It's not the fault of the action though: I'm going to transfer this issue to the |
I'm going to pin this until it is fixed, since it is a pretty serious foot gun. |
iwahbe
added a commit
that referenced
this issue
Aug 31, 2023
Fixes #130 We change how errors are displayed on invalid config files. The error message for an invalid config file now looks like this: ```sh 𝛌 upgrade-provider pulumi/pulumi-aiven error: While parsing config: yaml: line 4: did not find expected ',' or '}' ``` It used to look like this: ```sh 𝛌 upgrade-provider pulumi/pulumi-aiven Error: While parsing config: yaml: line 4: did not find expected ',' or '}' Usage: upgrade-provider <provider> [flags] Flags: --allow-missing-docs If true, don't error on missing docs during tfgen. This is equivalent to setting PULUMI_MISSING_DOCS_ERROR=${! VALUE}. --create-failure-issue Create an issue in the target repository if the upgrade attempt fails in CI. --experimental Enable experimental features, such as auto token mapping and auto aliasing -h, --help help for upgrade-provider ... ```
Merged
iwahbe
added a commit
that referenced
this issue
Aug 31, 2023
Fixes #130 We change how errors are displayed on invalid config files. The error message for an invalid config file now looks like this: ```sh 𝛌 upgrade-provider pulumi/pulumi-aiven error: While parsing config: yaml: line 4: did not find expected ',' or '}' ``` It used to look like this: ```sh 𝛌 upgrade-provider pulumi/pulumi-aiven Error: While parsing config: yaml: line 4: did not find expected ',' or '}' Usage: upgrade-provider <provider> [flags] Flags: --allow-missing-docs If true, don't error on missing docs during tfgen. This is equivalent to setting PULUMI_MISSING_DOCS_ERROR=${! VALUE}. --create-failure-issue Create an issue in the target repository if the upgrade attempt fails in CI. --experimental Enable experimental features, such as auto token mapping and auto aliasing -h, --help help for upgrade-provider ... ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
What happened?
running the action with a malformed config fails the command but the action does not fail
Expected Behavior
action should fail, which would result in a notification to the repo admin that something's broken
Steps to reproduce
see pulumiverse/pulumi-vercel#44 and all the runs in https://github.com/pulumiverse/pulumi-vercel/actions/runs/6001806781/job/16276798111 that were successful although the action failed
Output of
pulumi about
n/a
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: