Skip to content

Commit 5c4d7d3

Browse files
StaticRocketcshilwant
authored andcommitted
ci(build): add project directory as safe dir
The standard checkout workflow should do this, but it appears to use a throwaway home directory and does not attempt to set it in a permanent way for the rest of the workflow. Signed-off-by: Randolph Sapp <[email protected]>
1 parent d45aadb commit 5c4d7d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ jobs:
5656
- name: Checkout
5757
uses: actions/checkout@v4
5858

59+
- name: Add directory to safe dir overrides
60+
run: |
61+
git config --global --add safe.directory "$PWD"
62+
5963
- name: Build ${{ matrix.device }}
6064
run: |
6165
make DEVFAMILY=${{ matrix.device }} OS=${{ matrix.os }} \

0 commit comments

Comments
 (0)