diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 30e4d8e..724969d 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -15,12 +15,11 @@ jobs: cd dns echo "" > /var/cache/bind/.modified - if [ -z $(git diff-tree --no-commit-id --name-only -r main | grep '*.zone') ]; then + if [ -z $(git diff-tree --no-commit-id --name-only -r main | grep zone) ]; then exit 0 fi - files=$(git diff-tree --no-commit-id --name-only -r main | grep '*.zone') - echo "Have to test $files" + files=$(git diff-tree --no-commit-id --name-only -r main | grep zone) for file in $files do