File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -162,15 +162,15 @@ jobs:
162162 if : github.repository == 'commaai/openpilot' && github.ref == 'refs/heads/master'
163163 working-directory : ${{ github.workspace }}/ci-artifacts
164164 run : |
165- git checkout --orphan process-replay
166- git rm -rf .
167165 git config user.name "GitHub Actions Bot"
168166 git config user.email "<>"
167+ git fetch origin process-replay || true
168+ git checkout process-replay 2>/dev/null || git checkout --orphan process-replay
169169 cp ${{ github.workspace }}/selfdrive/test/process_replay/fakedata/*.zst .
170170 echo "${{ github.sha }}" > ref_commit
171171 git add .
172- git commit -m "process-replay refs for ${{ github.repository }}@${{ github.sha }}"
173- git push origin process-replay --force
172+ git commit -m "process-replay refs for ${{ github.repository }}@${{ github.sha }}" || echo "No changes to commit"
173+ git push origin process-replay
174174 - name : Run regen
175175 if : false
176176 timeout-minutes : 4
You can’t perform that action at this time.
0 commit comments