Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 5

Feature Request: Add milestone changes as activity type to pull_request

I am looking to trigger a workflow on pull_request when I add or remove a milestone. Is this already possible? If not, would love to see it added.

4 Replies
Pilot Lvl 1
Message 2 of 5

Re: Feature Request: Add milestone changes as activity type to pull_request

Pull requests are just extended issues. I guess it is already possible: https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-w...

on:
  issues:
    types: [milestoned]
Highlighted
Copilot Lvl 2
Message 3 of 5

Re: Feature Request: Add milestone changes as activity type to pull_request

I gave this a shot and it didn't work. Issues also has different metadata than pull_request so it wouldn't of worked for what I am doing.

Highlighted
Community Manager
Message 4 of 5

Re: Feature Request: Add milestone changes as activity type to pull_request

Hey @spenrose, You are correct `milestoned` is not an activity type under the pull_request event as of now. I'll be sure to pass this feedback along to the team.


I hope this helps,
Andrea

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Highlighted
Copilot Lvl 2
Message 5 of 5

Re: Feature Request: Add milestone changes as activity type to pull_request

Hey @AndreaGriffiths11 ,

is there any other way to trigger actions on pull request milestone changes?