Skip to content

Commit

Permalink
Merge pull request #71 from ingenerator/bug-git-ownership
Browse files Browse the repository at this point in the history
Fix git ownership error when building repo
  • Loading branch information
acoulton authored Dec 9, 2024
2 parents 01dc311 + fce5f57 commit 44595f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions builder/build-package-repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ echo "{\"github-oauth\": {\"github.com\": \"$GITHUB_TOKEN\"}}" > $COMPOSER_HOME

export COMPOSER_CACHE_DIR="$GITHUB_WORKSPACE/$CACHE_DIR"

echo "Marking workspace safe for git"
# Because this is a docker mount and the ownership in and outside is different
git config --global --add safe.directory "$GITHUB_WORKSPACE"

echo "Compiling satis.json from dynamic package sources"
"/repo-builder/vendor/bin/satisfy" \
--repofile "$GITHUB_WORKSPACE/satis-explicit-packages.json" \
Expand Down

0 comments on commit 44595f0

Please sign in to comment.