Add next-release milestone via GitHub Actions workflow to automated PRs#3337
Merged
mergify[bot] merged 6 commits intomainfrom Feb 20, 2026
Merged
Add next-release milestone via GitHub Actions workflow to automated PRs#3337mergify[bot] merged 6 commits intomainfrom
mergify[bot] merged 6 commits intomainfrom
Conversation
Co-authored-by: BornToBeRoot <16019165+BornToBeRoot@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add automated milestone assignment for PRs
Auto-assign Feb 19, 2026
next-release milestone to automated PRs (Dependabot, Transifex, ImgBot)
…h GitHub Actions workflow Co-authored-by: BornToBeRoot <16019165+BornToBeRoot@users.noreply.github.com>
Copilot
AI
changed the title
Auto-assign
Fix invalid Mergify config: replace non-existent Feb 20, 2026
next-release milestone to automated PRs (Dependabot, Transifex, ImgBot)milestone action with GitHub Actions workflow
Owner
|
@copilot Can you also add copilot to the list. |
Co-authored-by: BornToBeRoot <16019165+BornToBeRoot@users.noreply.github.com>
Contributor
Author
Done — |
Owner
|
@copilot analyze the last PRs and check if Copilot is a bot in this case.Verify that the name is correct. |
Co-authored-by: BornToBeRoot <16019165+BornToBeRoot@users.noreply.github.com>
Contributor
Author
Checked the last several PRs — Copilot's actual GitHub login is |
milestone action with GitHub Actions workflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
milestoneaction used inmergify.ymldoes not exist in Mergify's current action schema, causing Mergify to report the config as invalid.Changes proposed in this pull request
.github/mergify.yml: Remove the invalidmilestonerule (no such Mergify action exists).github/workflows/milestone.yml: Newpull_request_targetworkflow that assigns thenext-releasemilestone to PRs fromdependabot[bot],transifex-integration[bot],imgbot[bot], andCopilot(the correct GitHub login for the Copilot bot, which does not use the[bot]suffix) viaactions/github-script; usespull_request_target(no checkout) for elevated permissions, with minimalissues: write+pull-requests: writescopes; emits a warning rather than failing if the milestone doesn't exist yetRelated issue(s)
Copilot generated summary
Copilot summary
Removes a
milestoneaction rule from.github/mergify.ymlthat referenced a non-existent Mergify action, restoring the config to a valid state. Replaces it with a dedicated GitHub Actions workflow (.github/workflows/milestone.yml) triggered onpull_request_target(opened/reopened) that locates the opennext-releasemilestone by title and assigns it to any PR authored by the four automated bots:dependabot[bot],transifex-integration[bot],imgbot[bot], andCopilot. Note that the Copilot bot's GitHub login isCopilot(capital C, no[bot]suffix), unlike the other bots. Thepull_request_targettrigger is safe here because no code is checked out.To-Do
Contributing
By submitting this pull request, I confirm the following:
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.