ci: github actions: match checkout actions to fix ownership problem

This commit is contained in:
Nuno Marques
2024-05-18 20:15:27 +01:00
parent f8205995be
commit e2aa9605d2
2 changed files with 4 additions and 4 deletions
@@ -7,9 +7,9 @@ jobs:
runs-on: ubuntu-latest
container: px4io/px4-dev-base-jammy:2024-05-18
steps:
- uses: actions/checkout@v2.3.1
- uses: actions/checkout@v1
with:
fetch-depth: 0
token: ${{ secrets.ACCESS_TOKEN }}
- name: ownership workaround
run: git config --global --add safe.directory '*'
- name: checkout newest version of branch
@@ -10,9 +10,9 @@ jobs:
GIT_COMMITTER_EMAIL: bot@px4.io
GIT_COMMITTER_NAME: PX4BuildBot
steps:
- uses: actions/checkout@v2.3.1
- uses: actions/checkout@v1
with:
fetch-depth: 0
token: ${{ secrets.ACCESS_TOKEN }}
- name: ownership workaround
run: git config --global --add safe.directory '*'
- name: main test updates change indication files