Skip to content

Commit 67ef4d9

Browse files
authored
fix dry_run logic in milestone release job (#5861)
1 parent 5c554d3 commit 67ef4d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ jobs:
421421
/repos/${{ github.repository }}/milestones \
422422
| jq --arg version ${{ inputs.nic_version }} -r \
423423
'.[] | select(.title == $version) | .number')
424-
if ! ${{ inputs.dry_run }}
424+
if ! ${{ inputs.dry_run }}; then
425425
gh api --method PATCH -H "Accept: application/vnd.github.v3+json" \
426426
/repos/${{ github.repository }}/milestones/${milestone_number} \
427427
else

0 commit comments

Comments
 (0)