GitGuard is an extension that contains a various set of tasks that can be used to verify certain git related contitions in pipelines
Explore the docs »
View Extension
·
Changelog
·
Report Bug
·
Request Feature
Table of Contents
An issue I often face is forgetting to update the state of a parent workitem when starting a new Task. This extension aims to auto update parent workitems based on a set of rules when the child workitem is started.
-
A MarketPlace publisher Create a publisher
-
tfx-cli
installed.npm install -g tfx-cli
-
Pipelines uses the following extensions that needs to be installed in your organization in addition to default tasks:
- GitGuard - Used to verify changes to files, such as changelog.
- Azure DevOps Extension Tasks - Used to build and publish extension.
-
Clone the repo
git clone https://github.com/joachimdalen/azdevops-git-guard.git
-
Install dependencies
> npm install
-
Update publisher in
vss-extension.dev.json
-
Compile development version
npm run prepare:dev
See documenation for usage.
See the open issues for a full list of proposed features.
Contributions are welcome, both in the form of suggestions and code.
If you want to contribute code, I ask that you follow some guidelines.
- New and changed features should to the best ability be covered by tests
- Follow the branching policy:
feature/
for new featuresbugfix/
for bug fixesdocs/
for documentation changes
- If your change is related to an issue, use the id as the first part of the branch e.g
bugfix/12-fix-crash-when-updating-rule
- Pull requests should target the
develop
branch
- Fork the Project
- Create your Feature/Bugfix/Docs Branch (
git checkout -b feature/1-some-change
) - Commit your Changes (
git commit -m 'Add some change'
) - Push to the Branch (
git push origin feature/1-some-change
) - Open a Pull Request
master
is only deployed toPROD
and tagged withv<extension_version>
- Pull requests are always squash merged into
master
master
is the only branch where GitHub releases are created for
- Pull requests are always squash merged into
feature/*
andbugfix/*
are deployed toDEV
.
DEV
is a private development environment (publications of the extensions.)
Distributed under the MIT License. See LICENSE
for more information.
If you have generic questions about the project or usage you can make contact in the following ways:
- Submit an issue with the
@type/question
label - New Issue - Submit a new question under the Marketplace Q&A section.