Skip to content

Commit

Permalink
fix dry_run logic in milestone release job (#5861)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdabelf5 committed Jun 26, 2024
1 parent 5c554d3 commit 67ef4d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 67ef4d9

Please sign in to comment.