-
-
Notifications
You must be signed in to change notification settings - Fork 958
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
Github action fails with The process '/usr/bin/git' failed with exit code 1 #6240
Comments
Your pull request action is broken for pull requests from forks. Removing the with for checkout action should fix that: https://github.com/ChainSafe/files-ui/blob/83b333da328c79f7f23686db3dfdcd500b62dd6d/.github/workflows/lint.yml#L8-L10 The |
This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, making a donation is the right way to say thank you! |
Thank you very much, this works |
The issue you have reported is now resolved. If you don’t feel it’s right, please follow its labels to get a clue for further steps.
|
At the checkout@v3 action, the error "The process '/usr/bin/git' failed with exit code 1" is thrown and the workflow fails. According to WeblateOrg/weblate#6240, the fix for this is to remove the "with" block.
At the checkout@v3 action, the error "The process '/usr/bin/git' failed with exit code 1" is thrown and the workflow fails. According to WeblateOrg/weblate#6240, the fix for this is to remove the "with" block.
At the checkout@v3 action, the error "The process '/usr/bin/git' failed with exit code 1" is thrown and the workflow fails. According to WeblateOrg/weblate#6240, the fix for this is to remove the "with" block.
At the checkout@v3 action, the error "The process '/usr/bin/git' failed with exit code 1" is thrown and the workflow fails. According to WeblateOrg/weblate#6240, the fix for this is to remove the "with" block.
## Summary & Motivation This PR removes the `with` condition from the checkout step of the Dagster University GitHub Action. Contributions from forked branches caused the GitHub Action that deploys to Vercel to fail with the following error ([example logs](https://github.com/dagster-io/dagster/actions/runs/6895183205/job/18758590678)): ``` Run actions/checkout@v3 Syncing repository: dagster-io/dagster Getting Git version info Temporarily overriding HOME='/home/runner/work/_temp/3ad9168b-5e3d-484d-940f-b1398804d86f' before making global git config changes Adding repository directory to the temporary git global config as a safe directory /usr/bin/git config --global --add safe.directory /home/runner/work/dagster/dagster Deleting the contents of '/home/runner/work/dagster/dagster' Initializing the repository Disabling automatic garbage collection Setting up auth Fetching the repository /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/fix-weekly-partition-practice*:refs/remotes/origin/fix-weekly-partition-practice* +refs/tags/fix-weekly-partition-practice*:refs/tags/fix-weekly-partition-practice* The process '/usr/bin/git' failed with exit code 1 ``` [This PR](WeblateOrg/weblate#6240) describes a similar problem. ## How I Tested These Changes I think we'll need to merge this before we can test it, but it's easy enough to change back if there are issues.
Describe the issue
We are running Github action for several tasks on the PRs that hosted weblate created on the repo. The problem is that the Github action checkout can't seem to be able to checkout the branch correctly.
I already tried
Describe the steps you tried to solve the problem yourself.
If you didn’t try already, try to search there what you wrote above.
To Reproduce the issue
Steps to reproduce the behavior:
Expected behavior
Checkout successful
Screenshots
Exception traceback
Server configuration and status
Weblate installation: weblate.org service
Weblate deploy checks
Additional context
The text was updated successfully, but these errors were encountered: