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] containerized CI jobs failing: "unsafe repository" #5151

Closed
jameslamb opened this issue Apr 14, 2022 · 1 comment · Fixed by #5152
Closed

[ci] containerized CI jobs failing: "unsafe repository" #5151

jameslamb opened this issue Apr 14, 2022 · 1 comment · Fixed by #5152

Comments

@jameslamb
Copy link
Collaborator

jameslamb commented Apr 14, 2022

Description

I see several CI jobs failing with on master with the following exception.

Error: fatal: unsafe repository ('/__w/LightGBM/LightGBM' is owned by someone else)
  To add an exception for this directory, call:
  
  	git config --global --add safe.directory /__w/LightGBM/LightGBM
  Error: The process '/usr/bin/git' failed with exit code 1[28](https://github.com/microsoft/LightGBM/runs/6016954524?check_suite_focus=true#step:3:28)

Reproducible example

The following containerized GitHub Actions jobs are failing:

  • r-sanitizers (ubuntu-latest, R-devel, gcc ASAN/UBSAN) (build link)
  • r-sanitizers (ubuntu-latest, R-devel, clang ASAN/UBSAN) (build link)
  • r-package-check-docs (build link)

Additional Comments

This looks like a known issue caused by recent GitHub changes made in response to a security vulnerability: actions/checkout#760

I'll review that issue and put up a PR to fix this.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot removed the blocking label Aug 19, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant