Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
publish-commit-bottles: use public action #171085
publish-commit-bottles: use public action #171085
Changes from 1 commit
cd6f069
bc8d552
c678d71
2e99a89
f9e2806
ebc5093
340e6ec
dc9b857
e3bb5ae
ce31aba
b04538b
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check failure on line 247 in .github/workflows/publish-commit-bottles.yml
GitHub Actions / workflow_syntax
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.
I think this is the right way to continue if this step fails. The other approach is to have the last ditch step use
if: failure()
, which AFAIK means it'll run if any step fails, not just the last one.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.
I feel like it would be nicer if
actions/attest-build-provenance
had some sort of retry logic built-in, but this approach suits for now, I think. (Assumingactions/attest-build-provenance
is idempotent, which I suppose it should be.)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.
Yeah, agreed. I think the team working on this at GH has been tackling it though internal retries, so I suspect it'll get better over time.
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.
there is no side effect of ignoring the action step failure?
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.
I don't believe so -- if it fails it should fall through to the "last ditch" version, which will then hard-fail the action if it also fails. But maybe I missed something?