Skip to content

Commit

Permalink
Update assign-milestone-on-close.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaCowley authored Aug 21, 2024
1 parent 46b5f0d commit 852cfda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/assign-milestone-on-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
core.setOutput('isDone', 'false');
console.log("Not done.");
}
console.log(context.payload.pull_request.merged)
console.log((context.payload.issue && context.payload.issue.state_reason === "completed") || (context.payload.pull_request && context.payload.pull_request.merged === true));
- name: Assign default milestone
if: steps.check-milestone.outputs.milestoneNotSet == 'true' && steps.check-done.outputs.isDone== 'true'
Expand Down

0 comments on commit 852cfda

Please sign in to comment.