Skip to content

Fix workflow syntax error#1981

Closed
chainchad wants to merge 1 commit intodependabumpfrom
chainchad/dependabump
Closed

Fix workflow syntax error#1981
chainchad wants to merge 1 commit intodependabumpfrom
chainchad/dependabump

Conversation

@chainchad
Copy link
Copy Markdown
Contributor

No description provided.

@chainchad chainchad requested a review from jmank88 April 14, 2026 14:07

- name: Notify Fatal Error
if: !contains([0,1], steps.changes.outputs.exit_code != '0' ) # Fatal exit code
if: steps.changes.outcome == 'failure'
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh so I definitely biffed that old logic, but the point here was to catch failures other than 1. So I meant:

Suggested change
if: steps.changes.outcome == 'failure'
if: !contains([0,1], steps.changes.outputs.exit_code ) # Fatal exit code

w/o that leftover zero comparison. Does that make sense?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah ok, yeah so 0 or 1 are expected and > 1 is a critical failure.

@chainchad
Copy link
Copy Markdown
Contributor Author

Will close because it doesn't seem like it's needed but feel free to re-open or merge if desired.

@chainchad chainchad closed this Apr 14, 2026
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