Skip to content

fix running updater even though fetcher failed#30

Merged
jakecoffman merged 2 commits intomainfrom
jakecoffman/exit-code-on-fetch-failure
Oct 28, 2022
Merged

fix running updater even though fetcher failed#30
jakecoffman merged 2 commits intomainfrom
jakecoffman/exit-code-on-fetch-failure

Conversation

@jakecoffman
Copy link
Copy Markdown
Member

While working on dependabot/dependabot-core#5981 I noticed that when the fetcher fails, the CLI still tries to run the updater. This is because unless you set GITHUB_ACTIONS=true the exit code will be 0 even though the job failed.

This is only a small annoyance that might be slightly misleading as to what the problem really is, so I thought I'd straighten it out.

@jakecoffman jakecoffman requested a review from a team as a code owner October 27, 2022 18:50
@jakecoffman jakecoffman merged commit a9100bd into main Oct 28, 2022
@jakecoffman jakecoffman deleted the jakecoffman/exit-code-on-fetch-failure branch October 28, 2022 12:14
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