Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set milestone to closed issues that fixed by PRs of current milestone #20

Closed
hustcer opened this issue Oct 14, 2024 · 1 comment · Fixed by #42, #45 or #46
Closed

Set milestone to closed issues that fixed by PRs of current milestone #20

hustcer opened this issue Oct 14, 2024 · 1 comment · Fixed by #42, #45 or #46
Labels
enhancement New feature or request
Milestone

Comments

@hustcer
Copy link
Owner

hustcer commented Oct 14, 2024

Set milestone to closed issues that fixed by PRs of current milestone

@hustcer hustcer added the enhancement New feature or request label Oct 15, 2024
@hustcer
Copy link
Owner Author

hustcer commented Oct 15, 2024

gh api /repos/nushell/nushell/issues/13991/timeline | from json | where event == 'closed' | filter { $in.commit_id | is-not-empty } | get 0 | select commit_id commit_url
gh api /repos/nushell/nushell/commits/de08b68ba8c6473313b27325fe110ac48f242e6a | from json | get commit.message | lines | first | parse --regex '\(#(?<pr>\d+)\)'
gh pr view --repo nushell/nushell 13992 --json 'milestone' | from json | get milestone?.title?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment