Support for Contributions of Agentic Workflows#786
Merged
aaronpowell merged 8 commits intogithub:stagedfrom Feb 24, 2026
Merged
Support for Contributions of Agentic Workflows#786aaronpowell merged 8 commits intogithub:stagedfrom
aaronpowell merged 8 commits intogithub:stagedfrom
Conversation
Add support for contributing Agentic Workflows — AI-powered repository automations that run coding agents in GitHub Actions, defined in markdown with natural language instructions (https://github.github.com/gh-aw). Changes: - Create workflows/ directory for community-contributed workflows - Add workflow metadata parsing (yaml-parser.mjs) - Add workflow README generation (update-readme.mjs, constants.mjs) - Add workflow data to website generation (generate-website-data.mjs) - Update README.md, CONTRIBUTING.md, and AGENTS.md with workflow docs, contributing guidelines, and code review checklists Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Adds validate-agentic-workflows.yml that runs on PRs touching workflows/. Uses gh-aw CLI setup action to install the compiler, then runs 'gh aw compile --validate' on each workflow .md file. Posts a sticky PR comment with fix instructions on failure. Also adds workflows/** to validate-readme.yml path triggers so README tables are regenerated when workflows change. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Prevents contributors from pushing compiled YAML (.yml, .yaml, .lock.yml) or .github/ directories into the workflows/ directory. Only .md markdown source files are accepted — compilation happens downstream via gh aw compile. This is a security measure to prevent malicious GitHub Actions code from being introduced through contributed agentic workflows. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Merges the two separate action workflows (block-workflow-yaml.yml and validate-agentic-workflows.yml) into a single validate-agentic-workflows-pr.yml with two jobs: check-forbidden-files runs first, then compile-workflows runs only if the file check passes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds first-class repository support for community-contributed Agentic Workflows (markdown-defined automations for gh-aw), integrating them into the build/readme generation, website data generation, CI validation, and contribution docs.
Changes:
- Introduces a new
workflows/resource type (flat.mdfiles) with metadata parsing and README generation. - Extends website data/search index generation to include workflows and emits
workflows.json. - Adds PR-time CI validation for workflow contributions and updates docs/templates to include workflows.
Reviewed changes
Copilot reviewed 11 out of 12 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| workflows/.gitkeep | Ensures the new workflows/ directory exists in git. |
| eng/yaml-parser.mjs | Adds parseWorkflowMetadata() for workflow frontmatter parsing. |
| eng/update-readme.mjs | Generates docs/README.workflows.md via a new workflows section builder. |
| eng/generate-website-data.mjs | Generates workflows metadata, adds workflows to search index, and writes workflows.json. |
| eng/constants.mjs | Adds WORKFLOWS_DIR and new README template snippets for workflows. |
| docs/README.workflows.md | New generated documentation page for workflows (currently empty state). |
| README.md | Adds workflows to the main README navigation and repo structure/docs. |
| CONTRIBUTING.md | Adds contribution guidance and an example workflow file format. |
| AGENTS.md | Documents workflow file expectations and adds a review checklist for workflows. |
| .github/workflows/validate-readme.yml | Triggers README validation when workflows/** changes. |
| .github/workflows/validate-agentic-workflows-pr.yml | New CI workflow to block forbidden files and validate workflows with gh aw compile --validate. |
| .github/pull_request_template.md | Adds “agentic workflow” as a contribution type and checklist item. |
Comments suppressed due to low confidence (1)
.github/workflows/validate-agentic-workflows-pr.yml:112
- Same as earlier: commenting on PRs from forks will usually fail under
pull_requestdue to missing write permissions. Please guard this step with a permission check (likevalidate-readme.ymldoes) so validation failures still surface without the workflow erroring while trying to comment.
- name: Comment on PR if compilation failed
if: failure()
uses: marocchino/sticky-pull-request-comment@v2
with:
header: workflow-validation
aaronpowell
previously approved these changes
Feb 24, 2026
Contributor
|
@brunoborges your actions files because of the |
aaronpowell
approved these changes
Feb 24, 2026
This was referenced Feb 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Makes this project welcoming to users who want to contribute their own Agentic Workflows — AI-powered repository automations that run coding agents in GitHub Actions, defined in markdown with natural language instructions.
Changes
workflows/directory for community-contributed agentic workflows (flat.mdfiles)validate-agentic-workflows-pr.yml) with two jobs:.yml,.yaml,.lock.yml, and.github/modificationsgh aw compile --validateon each workflow.mdfilevalidate-readme.ymlupdated to trigger onworkflows/**changesType of Contribution