Skip to content

Commit

Permalink
dockerfile: fix git dubious ownership / safe directory when using GH …
Browse files Browse the repository at this point in the history
…actions

Safety feature from git. Let's handle that in the container.

Signed-off-by: Hans Binderup <[email protected]>
  • Loading branch information
hansbinderup committed Feb 28, 2025
1 parent 2956454 commit cdb105f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
uses: actions/checkout@v4
with:
clean: true
set-safe-directory: true
- name: Safe directory
run: git config --global --add safe.directory '*'
- name: Build release
run: scripts/build.sh

Expand All @@ -34,7 +35,8 @@ jobs:
uses: actions/checkout@v4
with:
clean: true
set-safe-directory: true
- name: Safe directory
run: git config --global --add safe.directory '*'
- name: Build and run unit tests
run: scripts/unit_test.sh
- name: Test Report
Expand Down

0 comments on commit cdb105f

Please sign in to comment.