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

How do I recognize that an issue was closed through a commit? (Fixes #123 Foo Blah)

Solved! Go to Solution.

In a GitHub App, it is easy to listen to issues being closed. But how do I recognize that an issue is being closed because a commit in the style of Fixes #123 Some Reason happened? The IssuesEvent does not contain any hints.

1 Reply
Solution
Community Manager
Message 2 of 2

Re: How do I recognize that an issue was closed through a commit? (Fixes #123 Foo Blah)

Hi @thadiun,

 

Thanks for being here!  The event `closed` listed here The issue was closed by the actor. When the commit_id is present, it identifies the commit that closed the issue using "closes / fixes #NN" syntax.

 

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!