Skip to content

Commit

Permalink
fix: Fix add milestone to issues that closed by auto-merge PRs (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer authored Jan 3, 2025
1 parent 5f37f27 commit b13adcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nu/query.nu
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def query-issue-status [issueNO: int, payload: string, token: string] {

let $closers = $events | filter {|it| $it.closer?.number? | is-not-empty }
| select closer | flatten
| select number milestone?.title? author.login repository.nameWithOwner mergeCommit.abbreviatedOid title
| select number milestone?.title? author.login repository.nameWithOwner mergeCommit?.abbreviatedOid? title
| rename -c $rename

$tries += 1; sleep 3sec
Expand Down

0 comments on commit b13adcc

Please sign in to comment.