Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

##[error]Docker run failed with exit code 78 #14

Closed
janpio opened this issue Sep 12, 2019 · 5 comments
Closed

##[error]Docker run failed with exit code 78 #14

janpio opened this issue Sep 12, 2019 · 5 comments

Comments

@janpio
Copy link

janpio commented Sep 12, 2019

If I understood it correctly, exiting with code 78 should be a "good exit", but it seems that the action is failing because of it for us:

https://github.com/prisma/specs/runs/218985421

 Automatic Rebase1s
##[error]Docker run failed with exit code 78
Run cirrus-actions/[email protected]
/usr/bin/docker run --name df7dc7c49eb902bfe42fcb67faca5311c2217_a47a2b --label 0df7dc --workdir /github/workspace --rm -e GITHUB_TOKEN -e HOME -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/specs/specs":"/github/workspace" 0df7dc:7c49eb902bfe42fcb67faca5311c2217
Checking if contains '/rebase' command...
##[error]Docker run failed with exit code 78

Am I doing something wrong here?

(Configured via copy/paste of example to https://github.com/prisma/specs/blob/master/.github/workflows/rebase.yml)

@fkorotkov
Copy link
Member

This is some legacy. Previous version of Actions supported exit code 78 as a neutral exit. They've removed it but are promising to have another "neutral strategy": https://github.community/t5/GitHub-Actions/GitHub-Actions-quot-neutral-quot-exit-code-is-incorrectly/td-p/29051

@stefan-enway
Copy link

i just subscribe here to get notified because i also just stumbled about this. nice action btw.

@stefan-enway
Copy link

stefan-enway commented Sep 13, 2019

is there a way to detect which action version used this action? or default to return a positive code? i would really like to enable this action for our team.

fkorotkov added a commit that referenced this issue Sep 13, 2019
@fkorotkov
Copy link
Member

Release 1.2 version of the action which workarounds the issue by exiting with 0.

@janpio
Copy link
Author

janpio commented Sep 14, 2019

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants