Get commits from main to deploy-branch on push

When someone pushes to deploy-{whatever} branch we want to post to our Slack a summary of commits that have been deployed. I have the trigger working, and the 'hello world' posting to Slack. What I wonder is do I have to shell out and do  something like data=`git log main..${BRANCH}` or is there a space api to query the repository/branches? 

0
1 comment

Hi Matt, am I correct that you'd like to get the list of all commits of a particular branch? If so, I'm afraid, there's such API methods so far. Please refer to the following issue in our tracker to be updated on the progress of this feature:

https://youtrack.jetbrains.com/issue/SPACE-10326

0

Please sign in to leave a comment.