-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
error: pathspec '...' did not match any file(s) known to git in Forks #117
Comments
Thanks for reporting! I've now invested like +2 hours investigating this. What I've doneThrough a secondary Account I've created a fork of my test repository and made some changes: The resulting PR never successfully runs the git-auto-commit Action with the The Action isn't even triggered in the fork. Eventhough the In a last attempt I just added the The README already states that running this Action in forks is quite complicated.
I will update the README in 2 ways:
Sorry if I vent here. It's not targeted against you. 🙂 It's just very frustrating if something that worked a month ago no longer works as expected. |
Adding And sorry for the inconvenience caused. Even I was frustrated with all these errors. |
@VaibhavSaini19 No worries! Thanks for reporting. Only thanks to issues and discussions we can make this Action better :D |
@stefanzweifel I see the exact same issue. For some reasons, adding commits after the PR changes are pushed to master is not an option. I need to update the same PR (from the fork) with additional commits. Note that, I have gone through the section in README on this and have-
|
@HarshitaInfoblox I don't think there is another option. My example project mentioned in #117 (comment) only worked after adding a You mention "Run workflows from pull requests". So I assume you're using the Action in private repositories with private forks? I couldn't test the Action in this environment so far. |
Version of the Action
v4
Describe the bug
The repo uses this action to automatically commit workflow changes back to the repo. But when a PR is made from a branch of a fork (with actions enabled), the actions fails with
I went through this thread which states that this (or similar) issue was fixed in
v2
, but I am still having this issueTo Reproduce
Fork the repo, commit changes in a new branch, create a PR
Expected behavior
The changes to be successfully committed in the PR branch which can be merged
I think git is unable to find the branch?
Screenshots
Failed workflow:
https://github.com/s-katte/React-Code-Pen/pull/27/checks?check_run_id=1267689707
Used Workflow
Additional context
We even tried it without the
branch
option, but it still failedThe text was updated successfully, but these errors were encountered: