1
0
Files
mstr-tasks/development/check-git-repository.yaml
2026-01-26 15:36:52 +01:00

17 lines
469 B
YAML

# yaml-language-server: $schema=https://git.jesof.ch/public/mstr-schemas/raw/branch/main/mstr-tasks-schema.json
tasks:
- execute:
description: "Git Check For Changes"
exec: "git"
dir: "."
args:
- "status"
- "--porcelain"
response:
name: "gitChanges"
- throw:
description: "Check if repository is clean"
message: "Git repository not clean, please commit changes ..."
when: $(gitChanges != "")