cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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 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
v-yuazh-msft
Community Support
Community Support

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

 

GabrielStJohn
Microsoft
Microsoft

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
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager



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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,875)