diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index a1d3d1fda9..6804473ea6 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -153,7 +153,7 @@ jobs: - name: Report nosec uses uses: mshick/add-pr-comment@v2 - if: env.nosec_detected == 1 && ${{ github.event.inputs.skip_checks != 'true' }} + if: ${{ env.nosec_detected == 1 && github.event.inputs.skip_checks != 'true' }} with: message: | *!!!WARNING!!!* @@ -168,7 +168,7 @@ jobs: - name: Add Label uses: actions/github-script@v6 - if: env.nosec_detected == 1 && ${{ github.event.inputs.skip_checks != 'true' }} + if: ${{ env.nosec_detected == 1 && github.event.inputs.skip_checks != 'true' }} with: script: | github.rest.issues.addLabels({ @@ -357,7 +357,7 @@ jobs: - name: Login to Docker Hub uses: docker/login-action@v2 - if: github.event.repository.full_name == 'zetachain-chain/node' && ${{ github.event.inputs.skip_checks != 'true' }} + if: ${{ github.event.repository.full_name == 'zetachain-chain/node' && github.event.inputs.skip_checks != 'true' }} with: username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_READ_ONLY }}