-
Notifications
You must be signed in to change notification settings - Fork 75
Fix fail-on-error to handle all installation and execution failures #254
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
Conversation
Co-authored-by: afinetooth <918667+afinetooth@users.noreply.github.com>
jsoref
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Best practices say that you should not use ${{...}} in a run: block, but instead should use env: for the value and then use that variable in the run: block.
afinetooth
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good enough to release incremental version for testing.
|
OK, will look at that asap. Did you happen to test |
|
We're using v2.3.7 PowerDNS/pdns@2182d55 I can't say we've particularly noticed things. There are plenty of problems with instability, but I certainly haven't noticed any problems due to the update. |
Bumps coverallsapp/github-action from 2.3.6 to 2.3.7. ## Release notes Sourced from coverallsapp/github-action's releases. v2.3.7 What's Changed README.md: Use current actions/setup-node and LTS version of Node.js by @cclauss in coverallsapp/github-action#247 Update workflow to update and verify release branch by @afinetooth in coverallsapp/github-action#249 Fix fail-on-error to handle all installation and execution failures by @Copilot in coverallsapp/github-action#254 New Contributors @cclauss made their first contribution in coverallsapp/github-action#247 @Copilot made their first contribution in coverallsapp/github-action#254 Full Changelog: coverallsapp/github-action@v2...v2.3.7 ## Commits 5cbfd81 Fix fail-on-error to handle all installation and execution failures (#254) e988b39 Update workflow to sync and verify release branch (#249) e7f4f97 README.md: Use current actions/setup-node and LTS version of Node.js (#247) See full diff in compare view  You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) Change-Id: Iaf83fbb22eabe15211ad3a283edc45aa02e7c322 --- ## Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: lfit.gh2gerrit <releng+lfit-gh2gerrit@linuxfoundation.org> Change-Id: I0838c4b4a83889a5fa2de03c76e35647dcd9d232 GitHub-PR: #21 GitHub-Hash: 1a12f4b70c7750ac
Fixes
fail-on-errordoesn't work well when download fails #253When binary downloads fail with
fail-on-error: false, the installation exits cleanly but subsequent steps attempt to execute the missingcoverallscommand, causing "command not found" errors that break CI workflows.Changes
Installation error handling
Execution safeguards
fail-on-error: falseExample
When installation fails:
Original prompt
fail-on-errordoesn't work well when download fails #253💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.