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

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.

3 Replies
Pilot Lvl 1
Message 2 of 4

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]
Copilot Lvl 2
Message 3 of 4

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.

Community Manager
Message 4 of 4

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.


Best,
AndreaG

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