Showing results for 
Search instead for 
Did you mean: 
TimBourguignon Resolver I
Resolver I

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
Community Support

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!
TimBourguignon Resolver I
Resolver I

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


New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!


Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!


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!


Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (4,679)