Git
2 TopicsHow to connect branch policies with work items in Azure Repos?
I have a couple of questions about branch policies in Azure Repos. As you can see we have a branching strategy based on linked items in Azure DevOps. My questions: Is it possible to allow users push their changes to Main branch only if their branch is connected with some story? And the second -- is it possible to allow users push changes to Story branch only if their task is child to story in which they are trying to push? I have read all docs about polices and have not found anything appropriate Or what policies could you recommend if nothing exists from the above801Views0likes0CommentsAzure DevOps git tag release pipeline
I'm wanting to get an Azure DevOps Pipeline (Classic) to run on a schedule against a Git Tag. This tag is set by a CD pipeline to mark when it has been deployed in the live environment. The scenario is that a "safe" release can be re-released on a regular schedule to ensure that it still matches what is expected (it's an Azure ARM release, and I want to tidy up any unauthorised changes made by lazy engineers). I cannot though find a way to achieve this. While you can filter on tags from builds in a release pipeline, that's not Git tags, but things manually set in ADO. I have tried using a build pipeline first (don't actually need one for this, but I can live with it) and using a branch filter to refs/tags/mytag, but it never seems to run. Can anybody help out here?800Views0likes2Comments