Showing results for 
Search instead for 
Did you mean: 

How to trigger a flow when a file is modified in a github repository?

Hi there, I'm searching for a way to trigger a flow when a JSON file is modified on a repository (that I do not own).


The github connector doesn't seem to offer a trigger on 'commits', only for 'issues'.


Any idea how I could do this?



Community Support Team
Community Support Team

Re: How to trigger a flow when a file is modified in a github repository?

Hi @TimBourguignon,


I have made a test on my side and the github connector doesn't have a trigger on 'commits', only have the trigger for 'issues' as you said.

I afraid that there is no way to achieve your needs in Microsoft Flow currently.


If you would like this trigger on 'commits' to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:



Best regards,




Re: How to trigger a flow when a file is modified in a github repository?

Hello, @TimBourguignon!


Thank you for posting on the Flow Community Forum! If you have already posted your idea to the Flow Community Ideas Forum or found an existing idea to upvote, then you need to post the URL to the idea’s thread as a reply to this thread. Then click "Accept as Solution" on the reply so that other users may vote for the Flow Idea and identify the information easily within this thread.


Thank You for being an active member of the Flow Community!


Flow Community Manager

Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!

Re: How to trigger a flow when a file is modified in a github repository?

Hi @GabrielStJohn, this Idea ( matches the request for a commit-trigger.


But this doesn't answer my original question. I knew already that the connector couldn't do it and stated it in the question. What I was/am after is smart idea/hack/workaround to get the desired behavior without waiting for the connector to be updated.


I agree that it is a good idea to add the Flow-Idea-Link for future reference, but I don't consider the question answered.

Helpful resources


Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,451)