Skip to content

Commit

Permalink
ci(build): add project directory as safe dir
Browse files Browse the repository at this point in the history
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 <rs@ti.com>
  • Loading branch information
StaticRocket authored and cshilwant committed Dec 16, 2024
1 parent d45aadb commit 5c4d7d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Add directory to safe dir overrides
run: |
git config --global --add safe.directory "$PWD"
- name: Build ${{ matrix.device }}
run: |
make DEVFAMILY=${{ matrix.device }} OS=${{ matrix.os }} \
Expand Down

0 comments on commit 5c4d7d3

Please sign in to comment.