Skip to content

Add workflow to automatically assign milestone #2541

Description

@westonruter

This is a follow-up to:

We have labels to identify which plugin(s) an issue or pull request is associated with. For example, #2469 has:

Image

Additionally, we have the milestone:

Image

(In reality, a PR should be able to be associated with multiple milestones because we have a monorepo. This isn't possible, however.)

As of #2513 the labels are now automatically applied.

The plugin-specific milestone can also automatically be assigned based on which plugin has the most changed lines in the PR. This milestone could then change automatically as additional changes are pushed.

As a bonus, when the changelog is being gathered for a given plugin, in addition to looking at the PRs in a plugin's specific milestone, we should also see if there are any merged PRs with the plugin's label which are associated with an open milestone. These can automatically be included in the changelog as well. This solves a manual issue of needing to make sure that a single PR with changes for multiple plugins get a changelog entry in each.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status
    Not Started/Backlog 📆

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions