cds-astro / mocpy

Python library to easily create and manipulate MOCs (Multi-Order Coverage maps)
https://cds-astro.github.io/mocpy/
BSD 3-Clause "New" or "Revised" License
59 stars 33 forks source link

CI fails for external contributors #113

Closed ManonMarchand closed 5 months ago

ManonMarchand commented 11 months ago

I'm in holidays so won't do it before one week, but CI is broken so we can't merge #112 yet.

fxpineau commented 10 months ago

The CI seems to be fixed, I let you re-open if it is not the case.

ManonMarchand commented 10 months ago

It was a super strange bug, but seems transitory. Linking an open issue for documentation purposes in case it happens again: https://github.com/actions/checkout/issues/1326

ManonMarchand commented 8 months ago

It happened again, and for an other new contributor

Error log:


Run actions/checkout@v4
Syncing repository: cds-astro/mocpy
Getting Git version info
Temporarily overriding HOME='/home/runner/work/_temp/8c3b38c0-70f1-4749-9073-4a6be6593c18' 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/mocpy/mocpy
Deleting the contents of '/home/runner/work/mocpy/mocpy'
Initializing the repository
Disabling automatic garbage collection
Setting up auth
Fetching the repository
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/heads/mnt/upload-artifacts-v4*:refs/remotes/origin/mnt/upload-artifacts-v4* +refs/tags/mnt/upload-artifacts-v4*:refs/tags/mnt/upload-artifacts-v4*
  The process '/usr/bin/git' failed with exit code 1
  Waiting 11 seconds before trying again
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/heads/mnt/upload-artifacts-v4*:refs/remotes/origin/mnt/upload-artifacts-v4* +refs/tags/mnt/upload-artifacts-v4*:refs/tags/mnt/upload-artifacts-v4*
  The process '/usr/bin/git' failed with exit code 1
  Waiting 11 seconds before trying again
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/heads/mnt/upload-artifacts-v4*:refs/remotes/origin/mnt/upload-artifacts-v4* +refs/tags/mnt/upload-artifacts-v4*:refs/tags/mnt/upload-artifacts-v4*
  Error: The process '/usr/bin/git' failed with exit code 1
ManonMarchand commented 8 months ago

Could it be because of

with:
  ref: ${{ github.head_ref }}

in our actions setup?

haooliveira84 commented 6 months ago

Same here