ci: github: add ownership workaround

This commit is contained in:
Nuno Marques
2024-05-18 20:15:26 +01:00
parent 2eeb358d3c
commit 0f4154005a
14 changed files with 40 additions and 2 deletions
+5 -1
View File
@@ -17,6 +17,8 @@ jobs:
- uses: actions/checkout@v1
with:
token: ${{secrets.ACCESS_TOKEN}}
- name: ownership workaround
run: git config --global --add safe.directory '*'
- id: set-matrix
run: echo "::set-output name=matrix::$(./Tools/generate_board_targets_json.py)"
build:
@@ -29,9 +31,11 @@ jobs:
- uses: actions/checkout@v1
with:
token: ${{secrets.ACCESS_TOKEN}}
- name: ownership workaround
run: git config --global --add safe.directory '*'
- name: ownership workaround
run: git config --system --add safe.directory '*'
run: git config --global --add safe.directory '*'
- name: make ${{matrix.target}}
run: make ${{matrix.target}}