From 0d0cdedb2afc8827f5e81dcdf2fbc661bbc4b945 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Mon, 24 Jun 2024 11:59:43 -0500 Subject: [PATCH] Revert "Compare directly with null" This reverts commit ce585f08bb2a075acf44f5260c96f04ebfa38755. --- .github/workflows/pytest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 35b36b0..62aab02 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -49,7 +49,7 @@ jobs: strategy: ${{ fromJson(needs.setup.outputs.strategy) }} runs-on: ${{ matrix.os }} env: - HAVE_CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN != null }} + HAVE_CODECOV_TOKEN: ${{ contains(toJson(secrets), 'CODECOV_TOKEN') }} steps: - uses: actions/checkout@v4