Simplify workflows to flat .md files instead of folders

Workflows are now standalone .md files in workflows/ — no subfolders
or README.md needed. Each file contains both the metadata frontmatter
(name, description, triggers, tags) and the agentic workflow definition
(on, permissions, safe-outputs) in a single file.

Updated all build scripts, CI workflows, docs, and review checklists.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Bruno Borges
2026-02-20 15:53:03 -08:00
parent e83cc6efee
commit 53401cb560
8 changed files with 64 additions and 112 deletions

View File

@@ -27,11 +27,9 @@ jobs:
exit_code=0
found=0
# Find all .md files in workflows/ subfolders (excluding README.md)
for workflow_file in workflows/*/*.md; do
# Find all .md files directly in workflows/
for workflow_file in workflows/*.md; do
[ -f "$workflow_file" ] || continue
basename=$(basename "$workflow_file")
[ "$basename" = "README.md" ] && continue
found=$((found + 1))
echo "::group::Compiling $workflow_file"
@@ -45,7 +43,7 @@ jobs:
done
if [ "$found" -eq 0 ]; then
echo "No workflow .md files found to validate (README.md files are excluded)."
echo "No workflow .md files found to validate."
else
echo "Validated $found workflow file(s)."
fi