diff --git a/.github/workflows/wporg-update-versions.yml b/.github/workflows/wporg-update-versions.yml index fc42a339de..3dc7e466de 100644 --- a/.github/workflows/wporg-update-versions.yml +++ b/.github/workflows/wporg-update-versions.yml @@ -45,7 +45,7 @@ jobs: - name: Run wporg-replace uses: sc0ttkclark/wporg-replace@v1.0.7 with: - plugin_version: ${{ (github.event.inputs.plugin_version == '') && github.event.inputs.plugin_version || env.PLUGIN_VERSION }} + plugin_version: ${{ (github.event.inputs.plugin_version != '') && github.event.inputs.plugin_version || env.PLUGIN_VERSION }} plugin_version_constant_name: ${{ env.WPORG_PLUGIN_VERSION_CONSTANT_NAME }} tested_wp_version: ${{ github.event.inputs.tested_wp_version }} tested_wp_version_constant_name: ${{ env.WPORG_TESTED_WP_VERSION_CONSTANT_NAME }}