Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,366 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
hi
Is it possible to do a Git pull and Push using Azure aumation job ?
I would to use to pull a Devops repo change a value to push back to the repo
Hi @RaKu
Azure Automation accounts doesn't support git
commands in a runbook. I did come across download-a-github-repository which is in the runbook gallery. It utilizes the GitHub REST API to download the repo and save it, so you can use that as a guide. You may be able to find an endpoint, like https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28 that fits your specific use case.