Skip to content

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

@brylie

Description

@brylie

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghacktoberfestTasks suitable for Hacktoberfesthelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions