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
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+52-1Lines changed: 52 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -161,11 +161,61 @@ plugins/my-plugin-id/
161
161
-**Clear purpose**: The plugin should solve a specific problem or workflow
162
162
-**Validate before submitting**: Run `npm run plugin:validate` to ensure your plugin is valid
163
163
164
+
### Adding Agentic Workflows
165
+
166
+
[Agentic Workflows](https://github.github.com/gh-aw) are AI-powered repository automations that run coding agents in GitHub Actions. Defined in markdown with natural language instructions, they enable scheduled and event-triggered automation with built-in guardrails.
167
+
168
+
1.**Create your workflow file**: Add a new `.md` file in the `workflows/` directory (e.g., `daily-issues-report.md`)
169
+
2.**Include frontmatter**: Add `name`, `description`, `triggers`, and optionally `tags` at the top, followed by agentic workflow frontmatter (`on`, `permissions`, `safe-outputs`) and natural language instructions
170
+
3.**Test locally**: Compile with `gh aw compile --validate` to verify it's valid
171
+
4.**Update the README**: Run `npm run build` to update the generated README tables
172
+
173
+
> **Note:** Only `.md` files are accepted — do not include compiled `.lock.yml` or `.yml` files. CI will block them.
174
+
175
+
#### Workflow file example
176
+
177
+
```markdown
178
+
---
179
+
name: 'Daily Issues Report'
180
+
description: 'Generates a daily summary of open issues and recent activity as a GitHub issue'
181
+
triggers: ['schedule']
182
+
tags: ['reporting', 'issues', 'automation']
183
+
on:
184
+
schedule: daily on weekdays
185
+
permissions:
186
+
contents: read
187
+
issues: read
188
+
safe-outputs:
189
+
create-issue:
190
+
title-prefix: "[daily-report] "
191
+
labels: [report]
192
+
---
193
+
194
+
## Daily Issues Report
195
+
196
+
Create a daily summary of open issues for the team.
197
+
198
+
## What to Include
199
+
200
+
- New issues opened in the last 24 hours
201
+
- Issues closed or resolved
202
+
- Stale issues that need attention
203
+
```
204
+
205
+
#### Workflow Guidelines
206
+
207
+
-**Security first**: Use least-privilege permissions and safe outputs instead of direct write access
208
+
-**Clear instructions**: Write clear natural language instructions in the workflow body
209
+
-**Descriptive names**: Use lowercase filenames with hyphens (e.g., `daily-issues-report.md`)
210
+
-**Test locally**: Use `gh aw compile --validate` to verify your workflow compiles
211
+
-**No compiled files**: Only submit the `.md` source — `.lock.yml` and `.yml` files are not accepted
212
+
- Learn more at the [Agentic Workflows documentation](https://github.github.com/gh-aw)
213
+
164
214
## Submitting Your Contribution
165
215
166
216
1.**Fork this repository**
167
217
2.**Create a new branch** for your contribution
168
-
3.**Add your instruction, prompt file, chatmode, or plugin** following the guidelines above
218
+
3.**Add your instruction, prompt file, chatmode, workflow, or plugin** following the guidelines above
169
219
4.**Run the update script**: `npm start` to update the README with your new file (make sure you run `npm install` first if you haven't already)
170
220
- A GitHub Actions workflow will verify that this step was performed correctly
171
221
- If the README.md would be modified by running the script, the PR check will fail with a comment showing the required changes
@@ -234,6 +284,7 @@ We welcome many kinds of contributions, including the custom categories below:
234
284
|**Prompts**| Reusable or one-off prompts for GitHub Copilot | ⌨️ |
235
285
|**Agents**| Defined GitHub Copilot roles or personalities | 🎭 |
236
286
|**Skills**| Specialized knowledge of a task for GitHub Copilot | 🧰 |
287
+
|**Workflows**| Agentic Workflows for AI-powered repository automation | ⚡ |
237
288
|**Plugins**| Installable packages of related prompts, agents, or skills | 🎁 |
238
289
239
290
In addition, all standard contribution types supported by [All Contributors](https://allcontributors.org/emoji-key/) are recognized.
0 commit comments