You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BIDS validation CI broken: escaped newlines in workflow template #285
The BIDS validation workflow deployed to dataset repos has YAML syntax errors on line 33. Every push triggers the error: Invalid workflow file: .github/workflows/bids-validation.yml#L33 - You have an error in your yaml syntax on line 33
This blocks the import-openneuro workflow from completing because publication requests require passing BIDS validation CI.
Root Cause
In backend/src/services/github.ts, the deployWorkflows() function defines workflow YAML as JavaScript template literals (backtick strings). Two places use \n which JavaScript interprets as a literal newline character instead of the two-character sequence \n:
Line 619: find -printf '/%P\n' - the \n becomes a real newline, splitting the YAML line and breaking block scalar indentation
Line 637: jq split("\n") - same issue
The fix is to escape as \\n (which produces literal \n in the output).
Activity
Fix YAML syntax errors in BIDS validation workflow template
Address PR review findings
Fix YAML syntax errors in BIDS validation workflow template (#286)