From beb296e3ecbf9d69226d1464dcd8528c6a37399e Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 5 May 2022 13:40:08 -0700 Subject: [PATCH] if we have token access --- .github/workflows/selfdrive_tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/selfdrive_tests.yaml b/.github/workflows/selfdrive_tests.yaml index 73daa50b25..759203af4b 100644 --- a/.github/workflows/selfdrive_tests.yaml +++ b/.github/workflows/selfdrive_tests.yaml @@ -317,7 +317,7 @@ jobs: FILEREADER_CACHE=1 CI=1 coverage run selfdrive/test/process_replay/test_processes.py && \ coverage xml" - name: Upload reference logs - if: ${{ failure() && github.event_name == 'pull_request' && github.repository == 'commaai/openpilot' && secrets.AZURE_COMMADATACI_OPENPILOTCI_TOKEN != '' }} + if: ${{ failure() && github.event_name == 'pull_request' && github.repository == 'commaai/openpilot' && (secrets.AZURE_COMMADATACI_OPENPILOTCI_TOKEN != '') }} run: | ${{ env.RUN }} "scons -j$(nproc) && \ CI=1 AZURE_TOKEN='${{ secrets.AZURE_COMMADATACI_OPENPILOTCI_TOKEN }}' python selfdrive/test/process_replay/update_refs.py"