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
user.name/user.email should be configured globally to work with submodules #289
Comments
Unfortunately, there is no hope that you get any support here (#246 was 2+y ago). But recent news is that the Cloud Foundry community is now maintaining a fork of this resource at cloudfoundry-community/github-pr-resource. On our Concourse installation at Gstack, that one is already working fine. The change you're describing is both reasonable and quite trivial. Could you suggest a PR there? (the new resource is a drop-in replacement; you only have to switch |
The Get part of the resource configures both
user.name
anduser.email
in the main repo in case a commit needs to happen while merging/rebasing the PR branch (source). However the configuration isn't propagated down to submodules, and if such a commit is required for one of the submodules, the commit will fail with Git being very unhappy about not having a name and/or email for the user.Output example
One way to work around this is to add
--global
to theuser.name
/user.email
config commands to make them global, which seems reasonable in a dockerized environment.The text was updated successfully, but these errors were encountered: