CircleCI Ideas

Merged PR - How to know the branch source ?

Project configuration : ONLY BUILD PULL REQUESTS is set to OFF.


When a pull request is merged, in the CircleCI build , we can't to know the branch source of the pull request. The CIRCLE_PULL_REQUEST variable doesn't exist in this case. 

So, if i want to automatically update my version, i must to know if the merge is from feature/* or hotfix/* to develop or from develop or bugfix/* to master.

How do this without uses CircleCI API and add an specific information in subject or body of the pull request merged message that is so laborious for all developers.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Feb 6 2020
  • New
  • Attach files