-
Notifications
You must be signed in to change notification settings - Fork 136
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
[bug] internal error Error: Process completed with exit code 1. #1702
Comments
It seems like this failure is because this run was done on a Because there was no tag name / release ID to upload the assets to, the workflow returned an internal error. @ianlewis Should
|
Should be able to fix this line https://github.com/konstruktoid/ansible-role-dns/blob/main/.github/workflows/slsa.yml#L52 upload-assets: ${{ github.event_name == 'release' }} Something we probably should add in our documentation, if we don't have it. Or do we think we should update our code to ignore silently? I'm worried about ignoring silently in general. Wdut? |
v1.4.0 works (https://github.com/konstruktoid/ansible-role-docker-rootless/actions/workflows/slsa.yml) and the v1.5.0 changelog states that "a new upload-tag-name input was added to allow users to specify the tag name for the release when My interpretation of the changelog is that a new, not required, input has been added and a user may specify a tag name if |
Yes, I think there's a compatibility issue where previously the push events would ignore uploading assets (sort of by accident), and here it's now implicitly expected to have been uploaded. IMO the best fix is to push a patch release fixing via something I proposed above and to issue a workaround via Laurent's comment for using 1.5.0 |
Seems like the only viable option to avoid breaking folks. |
I had a similar confusion regarding First, I think the documentation needs to improve regarding |
Yeah, I think that's right. |
I'll do the following for this issue
|
On other triggers: in addition to testing if |
Right, I wasn't clear. We won't try to upload assets to a release unless there is a tag name and |
Signed-off-by: Ian Lewis <[email protected]>
Signed-off-by: Ian Lewis <[email protected]>
I've fixed this and added tests. It will be released in v1.5.1 soon. |
Does https://github.com/slsa-framework/slsa-github-generator/pull/1733/files#diff-16f6a396627c41a481fce367ef13571a35d92d30d9d470b7d9956c0c49cf9a6bR1280-R1281 mean that Wouldn't this make more sense? upload-assets: true
upload-tag-name: ${{ startsWith(github.ref, 'refs/tags/') }} |
Probably the example I wrote there could have been better, something like: upload-assets: true
upload-tag-name: "nightly" It's roughly equivalent to the |
Describe the bug
https://github.com/konstruktoid/ansible-role-docker-rootless/actions/runs/4291543901/jobs/7476983701#step:6:1
Additional context
https://github.com/konstruktoid/ansible-role-docker-rootless/actions/workflows/slsa.yml
https://github.com/konstruktoid/ansible-role-docker-rootless/blob/main/.github/workflows/slsa.yml
The text was updated successfully, but these errors were encountered: