Skip to content

Commit cabdd65

Browse files
committed
fix: added the GHA workspace as a safe dir for git
(cherry picked from commit 84bed7b) (cherry picked from commit 039cef2)
1 parent 31a3743 commit cabdd65

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yml

+3
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ jobs:
171171
# Set the global id for git as it seems needed by the next step when a custom image is used
172172
git config --global user.email ${{ env.BOT_EMAIL }}
173173
git config --global user.name ${{ env.BOT_USERNAME }}
174+
#TODO: Use the same user id on the container as in the runner to avoid the "dubious ownership" error
175+
- name: Mark repository as safe for Git
176+
run: git config --global --add safe.directory /__w/apl-core/apl-core
174177
- name: Create and publish otomi chart release
175178
id: chart_release
176179
uses: helm/[email protected]

0 commit comments

Comments
 (0)