From 07334043df0c5486cda954bdc018e7ed05786d18 Mon Sep 17 00:00:00 2001 From: Dan Gowans Date: Mon, 3 Oct 2022 12:25:46 -0400 Subject: [PATCH] workflow secrets --- .github/workflows/coverage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 948be482..8fc9215d 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -28,12 +28,12 @@ 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.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 ./codeclimate-test-reporter before-build ./codeclimate-test-reporter after-build -t lcov --exit-code $? - name: Codacy - if: ${{ github.event_name != 'pull_request' && env.secrets.CODACY_PROJECT_TOKEN != '' }} + if: ${{ github.event_name != 'pull_request' && env.CODACY_PROJECT_TOKEN != '' }} run: bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r ./coverage/lcov.info