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

Explicitly trust CWD by Git after checkout #58

Merged
merged 2 commits into from
Feb 11, 2023

Conversation

atc0005
Copy link
Owner

@atc0005 atc0005 commented Feb 11, 2023

Work around potential "dubious ownership" complaints from Git regarding the workspace used by GitHub task runners by explicitly marking the current working
directory as trusted after checking out content from the repo.

Since we're not sharing that space with other user accounts this should be a safe assumption to make.

refs atc0005/go-ci#848

Work around potential "dubious ownership" complaints
from Git regarding the workspace used by GitHub task
runners by explicitly marking the current working
directory as trusted after checking out content from
the repo.

Since we're not sharing that space with other user accounts
this should be a safe assumption to make.

refs atc0005/go-ci#848
@atc0005 atc0005 added bug Something isn't working CI labels Feb 11, 2023
@atc0005 atc0005 self-assigned this Feb 11, 2023
This container image does not use Git for any of its operations
so we skip this step, but leave the commented out task as an
explicit indicator that we're not performing that step
(for a reason).

refs atc0005/go-ci#848
@atc0005 atc0005 merged commit d91af45 into master Feb 11, 2023
@atc0005 atc0005 deleted the explicitly-mark-cwd-as-trusted-by-git branch February 11, 2023 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant