diff --git a/.github/workflows/publish-crates.yml b/.github/workflows/publish-crates.yml index 8c38883c6..24cd60f55 100644 --- a/.github/workflows/publish-crates.yml +++ b/.github/workflows/publish-crates.yml @@ -13,7 +13,7 @@ permissions: {} jobs: set-up: - if: ${{ !( !inputs.is-called && startsWith(github.event.head_commit.message, 'release:') && github.event.head_commit.author.name == 'github-actions[bot]' ) }} + if: ${{ !( inputs.is-called == null && startsWith(github.event.head_commit.message, 'release:') && github.event.head_commit.author.name == 'github-actions[bot]' ) }} runs-on: ubuntu-latest permissions: {} outputs: @@ -21,7 +21,7 @@ jobs: steps: - id: set-dry-run env: - DRY_RUN: ${{ !inputs.is-called }} + DRY_RUN: ${{ inputs.is-called == null }} run: echo "dry-run=$DRY_RUN" >> $GITHUB_OUTPUT publish: needs: ["set-up"]