mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-14 16:51:35 +08:00
ci: github: add ownership workaround
This commit is contained in:
@@ -10,6 +10,8 @@ jobs:
|
||||
- uses: actions/checkout@v2.3.1
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: ownership workaround
|
||||
run: git config --global --add safe.directory '*'
|
||||
- name: checkout newest version of branch
|
||||
run: |
|
||||
git fetch origin pull/${{github.event.pull_request.number}}/head:${{github.head_ref}}
|
||||
|
||||
Reference in New Issue
Block a user