From a96c05cb27c0287e0d74b6fbea017e526be87b39 Mon Sep 17 00:00:00 2001 From: Jan Nanista Date: Tue, 2 Apr 2024 10:20:42 -0700 Subject: [PATCH] debug: Git --- .../actions/setup-environment/action.yaml | 14 +++++++------- .github/workflows/reusable-test.yaml | 1 + 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/actions/setup-environment/action.yaml b/.github/workflows/actions/setup-environment/action.yaml index 02b11038d..bfc8681ec 100644 --- a/.github/workflows/actions/setup-environment/action.yaml +++ b/.github/workflows/actions/setup-environment/action.yaml @@ -3,13 +3,13 @@ description: Setup node & package manager, checkout code runs: using: "composite" steps: - # # Temporary workaround for dubious ownership problem - # # - # # FIXME Remove after the 1001 user has been created and granted enough priviledges - # # to install the modules & run the build/lint/test scripts - # - name: Mark workspace directory as safe - # shell: bash - # run: git config --global --add safe.directory ${{ env.GITHUB_WORKSPACE }} + # Temporary workaround for dubious ownership problem + # + # FIXME Remove after the 1001 user has been created and granted enough priviledges + # to install the modules & run the build/lint/test scripts + - name: Mark workspace directory as safe + shell: bash + run: git config --global --add safe.directory ${GITHUB_WORKSPACE} - uses: pnpm/action-setup@v2 name: Install pnpm diff --git a/.github/workflows/reusable-test.yaml b/.github/workflows/reusable-test.yaml index 445670f18..7598da3bd 100644 --- a/.github/workflows/reusable-test.yaml +++ b/.github/workflows/reusable-test.yaml @@ -29,6 +29,7 @@ jobs: # We'll run the job on the prebuilt base image container: image: ghcr.io/layerzero-labs/devtools-dev-base:main + options: --user 1001 steps: - name: Checkout repo