Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
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.

Activity

  1. added theissue type on Jun 18, 2026
  2. moved this to Not Started/Backlog 📆 in WP Performance Ongoingon Jun 18, 2026
  3. dilipom13 commented on Jul 25, 2026

    @dilipom13

    Hello team,

    I’m interested in helping with this issue (#2541).

    I see PR #2586 already implements the milestone assignment workflow. I reproduced the same approach locally on branch maintenance/auto-plugin-milestone and verified:

    • npm run test-unit-js (6 tests passing)
    • npm run lint-js, npm run lint-json, npm run tsc

    I’d prefer to collaborate on #2586 rather than open a duplicate PR. Please let me know if you’d like me to:

    Thanks.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions