cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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 github.com 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?

 

Thanks!

3 REPLIES 3
Highlighted
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:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

 

Best regards,

Alice

 

Highlighted
Administrator
Administrator

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!

 

-Gabriel
Flow Community Manager

-Gabriel
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!
Highlighted
Resolver I
Resolver I

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

Hi @GabrielStJohn, this Idea (https://powerusers.microsoft.com/t5/Flow-Ideas/Required-triggers-for-Github/idi-p/40296) 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

Announcements
firstImage

Now Live: Power Virtual Agents Community!

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

firstImage

New & Improved Power Automate Community Cookbook

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

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (6,932)