Skip to content
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

CI: Python lint/test action breaks on fork #116

Open
2 tasks
brylie opened this issue Oct 4, 2022 · 0 comments
Open
2 tasks

CI: Python lint/test action breaks on fork #116

brylie opened this issue Oct 4, 2022 · 0 comments
Assignees
Labels
bug Something isn't working hacktoberfest Tasks suitable for Hacktoberfest help wanted Extra attention is needed

Comments

@brylie
Copy link
Member

brylie commented Oct 4, 2022

The "Python lint/test" CI pipeline fails on forked repositories with the following errors.

Example failure message > Fetching the repository /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/feat/106_add_django-linear-migrations*:refs/remotes/origin/feat/106_add_django-linear-migrations* +refs/tags/feat/106_add_django-linear-migrations*:refs/tags/feat/106_add_django-linear-migrations* The process '/usr/bin/git' failed with exit code 1 Waiting 19 seconds before trying again /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/feat/106_add_django-linear-migrations*:refs/remotes/origin/feat/106_add_django-linear-migrations* +refs/tags/feat/106_add_django-linear-migrations*:refs/tags/feat/106_add_django-linear-migrations* The process '/usr/bin/git' failed with exit code 1 Waiting 19 seconds before trying again /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/feat/106_add_django-linear-migrations*:refs/remotes/origin/feat/106_add_django-linear-migrations* +refs/tags/feat/106_add_django-linear-migrations*:refs/tags/feat/106_add_django-linear-migrations* Error: The process '/usr/bin/git' failed with exit code 1

Task

  • fix the "python lint/test" pipeline so it can run against repository forks
  • specifically, look at the checkout action and see if it is properly configured or whether an alternative exists

Related issues/resources

@brylie brylie added bug Something isn't working help wanted Extra attention is needed hacktoberfest Tasks suitable for Hacktoberfest labels Oct 4, 2022
@brylie brylie self-assigned this Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hacktoberfest Tasks suitable for Hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant