Question

How to perform an action after an open PR is merged to a branch in GIT?

  • 9 January 2024
  • 5 replies
  • 62 views

Userlevel 1

In Zap - how do i trigger an event from git merge? I would like to perform an action after an open PR is merged to a branch.

 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

5 replies

Userlevel 7
Badge +14

Hi @akalaitan 

The available GitHub Zap triggers can be viewed here: https://zapier.com/apps/github/integrations#triggers-and-actions

Userlevel 1

Hi @akalaitan 

The available GitHub Zap triggers can be viewed here: https://zapier.com/apps/github/integrations#triggers-and-actions

Hi @Troy Tessalone ! 

Thanks for the list! But it does not contain GitHub Zap trigger on merge, is there possibly a walk around to achieve the desired behavior? 

Userlevel 7
Badge +14

@akalaitan

You would have to explore using the GitHub API: https://docs.github.com/en/rest

 

Userlevel 1

@akalaitan

You would have to explore using the GitHub API: https://docs.github.com/en/rest

 

@Troy Tessalone 

 

Yes, thank you, but how do i call GitHub API from Zap ?

Userlevel 7
Badge +14

@akalaitan 

Did you review these options?