Block Git changes
Plugin to block uncommited changes in the Git repository
Plugin that fails if the Git repository contains any uncommited changes.
Usage
pipeline:
block-changes:
image: qwerty287/woodpecker-block-git-changes
This will never fail because there isn't any change done before.
pipeline:
echo:
image: alpine
commands:
- echo "hello world" > README.md
block-changes:
image: qwerty287/woodpecker-block-git-changes
This will fail if your README.md doesn't already contain hello world
.