Skip to content

Commit

Permalink
Merge pull request openshift#810 from cgwalters/ci-git
Browse files Browse the repository at this point in the history
ci: Also work around git checkout security check
  • Loading branch information
cgwalters authored Jun 1, 2022
2 parents 16f7668 + fe25079 commit c6bf5a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ci/set-openshift-user.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,9 @@ rm /tmp/passwd
# Not strictly required, but nice for debugging.
id
whoami

# Workaround for how we cache the cosa builds in Prow and juggle users,
# see also https://github.com/actions/checkout/issues/760#issuecomment-1097461496
if test -d src/config; then
git config --global --add safe.directory $PWD/src/config
fi

0 comments on commit c6bf5a9

Please sign in to comment.