Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enter commit message when saving Azure Data Factory to Git

Is there a way to change the commit message when saving an Azure Data Factory to git?

Whenever you press save it seems you get a commit and that commit will change say Updating pipeline name. While sort of useful it would be nice to actually put in some descriptions of what's changed. Is there a way to do this?

like image 486
Tim Griffiths Avatar asked Nov 20 '25 23:11

Tim Griffiths


2 Answers

Microsoft just enabled this capability. The announcement has no details, but this is what you do to turn it on: Go to the "Manage" section of Azure Data Factory, click "Git configuration", then "Edit": Azure Data Factory Git Configuration

Now check the "Use custom comment" checkbox: Edit Git Repository Configuration

(I also recommend setting up CI/CD and therefore checking the "Disable publish" checkbox as well. That checkbox is only available when you're in the default branch.)

Now when you save, an area slides out from the right of the screen allowing you to edit a commit message. If you use Azure DevOps, if your message contains "#" followed by a valid workitem ID, the commit is linked to the workitem, just like with other Git tooling.

Caveats:

  1. This is not a "require comments" checkbox. Upon save, a "standard comment" is supplied. The developer may delete it entirely. (Boo, MSFT.)
like image 66
Todd McDermid Avatar answered Nov 22 '25 11:11

Todd McDermid


Unfortunately, Azure Data Factory does not currently support to customize the commit message. We can upvote the feedback here to let Microsoft improve this feature.

like image 44
Joseph Xu Avatar answered Nov 22 '25 11:11

Joseph Xu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!