diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6f362348a9..bbe4b809b4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -421,7 +421,7 @@ jobs: /repos/${{ github.repository }}/milestones \ | jq --arg version ${{ inputs.nic_version }} -r \ '.[] | select(.title == $version) | .number') - if ! ${{ inputs.dry_run }} + if ! ${{ inputs.dry_run }}; then gh api --method PATCH -H "Accept: application/vnd.github.v3+json" \ /repos/${{ github.repository }}/milestones/${milestone_number} \ else