We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be super convenient if we could also close the related milestone (if it exists).
For example, we release "1.0.0", then we close the milestone named "1.0.0"
The text was updated successfully, but these errors were encountered:
@danrabbit what happens to open issues/PRs on the associated milestone when it's closed?
Sorry, something went wrong.
If you mean "what currently happens": they stay open and assigned to that milestone
If you mean "what ideally happens": they should be assigned to a new milestone or at least removed from that milestone
I guess it could be done like this:
$GITHUB_EVENT_PATH
milestone.number
curl --method PATCH --data "$DATA" https://api.github.com/repos/$GITHUB_REPOSITORY/milestones/$MILESTONE_NUMBER?access_token=$GITHUB_TOKEN
$DATA
DATA=" { \"title\": \"$VERSION\", \"state\": \"closed\" } "
Note, that this is untested.
No branches or pull requests
It would be super convenient if we could also close the related milestone (if it exists).
For example, we release "1.0.0", then we close the milestone named "1.0.0"
The text was updated successfully, but these errors were encountered: