fix condition

deepsource-autofix-76c6eb20
Dan Gowans 2022-10-03 12:14:05 -04:00
parent 0fdba6397d
commit 3f348f8fd3
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ jobs:
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
- name: Code Climate
if: ${{ github.event_name != 'pull_request' && env.secrets.CC_TEST_REPORTER_ID }}
if: ${{ github.event_name != 'pull_request' && env.secrets.CC_TEST_REPORTER_ID != '' }}
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./codeclimate-test-reporter
chmod +x codeclimate-test-reporter
@ -34,7 +34,7 @@ jobs:
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
- name: Codacy
if: ${{ github.event_name != 'pull_request' && env.secrets.CODACY_PROJECT_TOKEN }}
if: ${{ github.event_name != 'pull_request' && env.secrets.CODACY_PROJECT_TOKEN != '' }}
run: bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r ./coverage/lcov.info
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}