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 fails for external contributors #113

Closed
ManonMarchand opened this issue Oct 28, 2023 · 5 comments · Fixed by #124
Closed

CI fails for external contributors #113

ManonMarchand opened this issue Oct 28, 2023 · 5 comments · Fixed by #124

Comments

@ManonMarchand
Copy link
Member

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

@fxpineau
Copy link
Member

fxpineau commented Nov 7, 2023

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

@fxpineau fxpineau closed this as completed Nov 7, 2023
@ManonMarchand
Copy link
Member Author

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

@ManonMarchand ManonMarchand changed the title Repair CI CI fails for external contributors Jan 8, 2024
@ManonMarchand ManonMarchand reopened this Jan 8, 2024
@ManonMarchand
Copy link
Member Author

ManonMarchand commented Jan 8, 2024

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
Copy link
Member Author

Could it be because of

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

in our actions setup?

@haooliveira84
Copy link

Same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants