Skip to content

Commit 0a6d0c7

Browse files
dhaneshclaude
andcommitted
fix: skip anchor files in ci workflow validation
the workflow was only skipping .verify files but not .anchor files, causing validation to fail when trying to validate anchor documents as regular manifold files. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 120b0d7 commit 0a6d0c7

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/manifold-verify.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ jobs:
7979
for f in .manifold/*.yaml; do
8080
if [ -f "$f" ]; then
8181
feature=$(basename "$f" .yaml)
82-
# Skip verify files
83-
if [[ "$feature" != *.verify ]]; then
82+
# Skip anchor and verify files (they have different schemas)
83+
if [[ "$feature" != *.anchor && "$feature" != *.verify ]]; then
8484
echo "Validating: $feature"
8585
manifold validate "$feature" --json || exit 1
8686
fi
@@ -109,8 +109,8 @@ jobs:
109109
for f in .manifold/*.yaml; do
110110
if [ -f "$f" ]; then
111111
feature=$(basename "$f" .yaml)
112-
# Skip verify files
113-
if [[ "$feature" != *.verify ]]; then
112+
# Skip anchor and verify files (they have different schemas)
113+
if [[ "$feature" != *.anchor && "$feature" != *.verify ]]; then
114114
echo "Verifying: $feature"
115115
manifold verify "$feature" --json
116116
RESULT=$?
@@ -141,7 +141,8 @@ jobs:
141141
for f in .manifold/*.yaml; do
142142
if [ -f "$f" ]; then
143143
feature=$(basename "$f" .yaml)
144-
if [[ "$feature" != *.verify ]]; then
144+
# Skip anchor and verify files (they have different schemas)
145+
if [[ "$feature" != *.anchor && "$feature" != *.verify ]]; then
145146
echo "### $feature" >> $GITHUB_STEP_SUMMARY
146147
manifold status "$feature" >> $GITHUB_STEP_SUMMARY
147148
echo "" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)