Skip to content

Commit

Permalink
Add Git safe directory configuration to CI workflow for improved secu…
Browse files Browse the repository at this point in the history
…rity
  • Loading branch information
loki077 committed Dec 9, 2024
1 parent 2b38860 commit 20b5371
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/carbonix_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,10 @@ jobs:
run: |
ls -la periph-output/*/
- name: Configure Git Safe Directory
run: |
git config --global --add safe.directory ${GITHUB_WORKSPACE}
- name: Get Commit ID
id: get_commit_id
run: |
Expand All @@ -299,13 +303,11 @@ jobs:

- name: Run aircraft_config.py
run: |
git config --global --add safe.directory ${GITHUB_WORKSPACE}
python Tools/Carbonix_scripts/aircraft_config.py ${{ matrix.xml_file }} ${{ env.commit_id }}
ls -la periph-output/
ls -la final-output/
# build-sitl:
# runs-on: 'windows-latest'
# needs: setup-s3-path
Expand Down

0 comments on commit 20b5371

Please sign in to comment.