diff --git a/.gitea/workflows/coder-templates.yml b/.gitea/workflows/coder-templates.yml index 5765e37..0ad8f89 100644 --- a/.gitea/workflows/coder-templates.yml +++ b/.gitea/workflows/coder-templates.yml @@ -61,7 +61,7 @@ jobs: exit 0 fi - OLD_DIRS="$(git ls-tree -d --name-only "$PREV_SHA" -- templates 2>/dev/null | xargs -n1 basename 2>/dev/null || true)" + OLD_DIRS="$(git ls-tree -d --name-only "$PREV_SHA" -- 'templates/*' 2>/dev/null | xargs -n1 basename 2>/dev/null || true)" if [ -z "$OLD_DIRS" ]; then echo "No templates/ directory at $PREV_SHA, nothing to diff. Skipping." exit 0