Skip to content

Commit

Permalink
ci: correct inputs coerces (#1401)
Browse files Browse the repository at this point in the history
Signed-off-by: Adrien Mannocci <[email protected]>
  • Loading branch information
amannocci authored Jul 31, 2023
1 parent bcd14bf commit 4f4ca00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: npm ci

- name: Read NPM vault secrets
if: inputs.dry-run != null && !inputs.dry-run
if: inputs.dry-run != null && inputs.dry-run == false
uses: hashicorp/[email protected]
with:
method: approle
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Configure npm registry
uses: elastic/apm-pipeline-library/.github/actions/setup-npmrc@current
if: inputs.dry-run != null && !inputs.dry-run
if: inputs.dry-run != null && inputs.dry-run == false
with:
vault-url: ${{ secrets.VAULT_ADDR }}
vault-role-id: ${{ secrets.VAULT_ROLE_ID }}
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
process_gcloudignore: false

status:
if: inputs.dry-run != null && !inputs.dry-run
if: inputs.dry-run != null && inputs.dry-run == false
needs:
- release
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4f4ca00

Please sign in to comment.