Skip to content

Commit

Permalink
fixing if conditions for skip checks
Browse files Browse the repository at this point in the history
  • Loading branch information
gzukel committed Feb 15, 2024
1 parent 5b23b42 commit 879fb47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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!!!*
Expand All @@ -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({
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 879fb47

Please sign in to comment.