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

chore: Add milestone workflow to add milestone to merged PR and fixed issues #3849

Merged
merged 1 commit into from
Dec 29, 2024

Conversation

hustcer
Copy link
Collaborator

@hustcer hustcer commented Dec 29, 2024

Description:

This workflow will do the following things:

  • Add milestone to a merged PR automatically, example action detail
  • Add milestone to a closed issue that has a merged PR fix (if any), example action detail

If there is no opened milestone the action will stop. If there are multiple opened milestones, the action will bind to the one whose due date is closest to the PR merged date and fall back to the first one sorted by the milestone created date.

We have use it in Nushell for a while, such as v0.101.0

Don't merge it if it's not a good fit

@mitchellh
Copy link
Contributor

I like this a lot thanks!

@mitchellh
Copy link
Contributor

For the record, this is used in the official Nu project and I also did a brief audit of the upstream action that is being used and it looks good to me.

@mitchellh mitchellh merged commit 5668174 into ghostty-org:main Dec 29, 2024
5 checks passed
@github-actions github-actions bot added this to the 1.0.1 milestone Dec 29, 2024
@hustcer hustcer deleted the feature/workflow branch December 29, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants