Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
114 changes: 109 additions & 5 deletions .github/aw/schemas/agentic-workflow.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,23 @@
},
"on": {
"description": "Workflow triggers that define when the agentic workflow should run. Supports standard GitHub Actions trigger events plus special command triggers for /commands (required)",
"examples": [{ "issues": { "types": ["opened"] } }, { "pull_request": { "types": ["opened", "synchronize"] } }, "workflow_dispatch", { "schedule": "daily at 9am" }, "/my-bot"],
"examples": [
{
"issues": {
"types": ["opened"]
}
},
{
"pull_request": {
"types": ["opened", "synchronize"]
}
},
"workflow_dispatch",
{
"schedule": "daily at 9am"
},
"/my-bot"
],
"oneOf": [
{
"type": "string",
Expand Down Expand Up @@ -2335,8 +2351,19 @@
]
},
"examples": [
[{ "prompt": "Analyze the issue and create a plan" }],
[{ "uses": "actions/checkout@v4" }, { "prompt": "Review the code and suggest improvements" }],
[
{
"prompt": "Analyze the issue and create a plan"
}
],
[
{
"uses": "actions/checkout@v4"
},
{
"prompt": "Review the code and suggest improvements"
}
],
[
{
"name": "Download logs from last 24 hours",
Expand Down Expand Up @@ -2395,7 +2422,20 @@
"engine": {
"description": "AI engine configuration that specifies which AI processor interprets and executes the markdown content of the workflow. Defaults to 'copilot'.",
"default": "copilot",
"examples": ["copilot", "claude", "codex", { "id": "copilot", "version": "beta" }, { "id": "claude", "model": "claude-3-5-sonnet-20241022", "max-turns": 15 }],
"examples": [
"copilot",
"claude",
"codex",
{
"id": "copilot",
"version": "beta"
},
{
"id": "claude",
"model": "claude-3-5-sonnet-20241022",
"max-turns": 15
}
],
"$ref": "#/$defs/engine_config"
},
"mcp-servers": {
Expand Down Expand Up @@ -2433,7 +2473,27 @@
"tools": {
"type": "object",
"description": "Tools and MCP (Model Context Protocol) servers available to the AI engine for GitHub API access, browser automation, file editing, and more",
"examples": [{ "playwright": { "version": "v1.41.0" } }, { "github": { "mode": "remote" } }, { "github": { "mode": "local", "version": "latest" } }, { "bash": null }],
"examples": [
{
"playwright": {
"version": "v1.41.0"
}
},
{
"github": {
"mode": "remote"
}
},
{
"github": {
"mode": "local",
"version": "latest"
}
},
{
"bash": null
}
],
"properties": {
"github": {
"description": "GitHub API tools for repository operations (issues, pull requests, content management)",
Expand Down Expand Up @@ -3446,6 +3506,10 @@
}
],
"description": "Time until the issue expires and should be automatically closed. Supports integer (days) or relative time format. When set, a maintenance workflow will be generated."
},
"github-token": {
"type": "string",
"description": "GitHub token to use for this safe output operation. Overrides the global safe-outputs github-token if specified. Supports GitHub Actions expressions like ${{ secrets.MY_TOKEN }}."
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -3604,6 +3668,10 @@
}
],
"description": "Time until the discussion expires and should be automatically closed. Supports integer (days) or relative time format like '2h' (2 hours), '7d' (7 days), '2w' (2 weeks), '1m' (1 month), '1y' (1 year). When set, a maintenance workflow will be generated."
},
"github-token": {
"type": "string",
"description": "GitHub token to use for this safe output operation. Overrides the global safe-outputs github-token if specified. Supports GitHub Actions expressions like ${{ secrets.MY_TOKEN }}."
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -3675,6 +3743,10 @@
"target-repo": {
"type": "string",
"description": "Target repository in format 'owner/repo' for cross-repository operations. Takes precedence over trial target repo settings."
},
"github-token": {
"type": "string",
"description": "GitHub token to use for this safe output operation. Overrides the global safe-outputs github-token if specified. Supports GitHub Actions expressions like ${{ secrets.MY_TOKEN }}."
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -3732,6 +3804,10 @@
"target-repo": {
"type": "string",
"description": "Target repository in format 'owner/repo' for cross-repository discussion updates. Takes precedence over trial target repo settings."
},
"github-token": {
"type": "string",
"description": "GitHub token to use for this safe output operation. Overrides the global safe-outputs github-token if specified. Supports GitHub Actions expressions like ${{ secrets.MY_TOKEN }}."
}
},
"additionalProperties": false
Expand Down Expand Up @@ -3772,6 +3848,10 @@
"target-repo": {
"type": "string",
"description": "Target repository in format 'owner/repo' for cross-repository operations. Takes precedence over trial target repo settings."
},
"github-token": {
"type": "string",
"description": "GitHub token to use for this safe output operation. Overrides the global safe-outputs github-token if specified. Supports GitHub Actions expressions like ${{ secrets.MY_TOKEN }}."
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -3880,6 +3960,10 @@
"type": "string",
"enum": ["spam", "abuse", "off_topic", "outdated", "resolved"]
}
},
"github-token": {
"type": "string",
"description": "GitHub token to use for this safe output operation. Overrides the global safe-outputs github-token if specified. Supports GitHub Actions expressions like ${{ secrets.MY_TOKEN }}."
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -4334,6 +4418,10 @@
"target-repo": {
"type": "string",
"description": "Target repository in format 'owner/repo' for cross-repository issue updates. Takes precedence over trial target repo settings."
},
"github-token": {
"type": "string",
"description": "GitHub token to use for this safe output operation. Overrides the global safe-outputs github-token if specified. Supports GitHub Actions expressions like ${{ secrets.MY_TOKEN }}."
}
},
"additionalProperties": false
Expand Down Expand Up @@ -4459,6 +4547,10 @@
"type": "string",
"enum": ["spam", "abuse", "off_topic", "outdated", "resolved"]
}
},
"github-token": {
"type": "string",
"description": "GitHub token to use for this safe output operation. Overrides the global safe-outputs github-token if specified. Supports GitHub Actions expressions like ${{ secrets.MY_TOKEN }}."
}
},
"additionalProperties": false
Expand Down Expand Up @@ -4586,6 +4678,10 @@
"type": "string",
"description": "Target repository for cross-repo release updates (format: owner/repo). If not specified, updates releases in the workflow's repository.",
"pattern": "^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$"
},
"github-token": {
"type": "string",
"description": "GitHub token to use for this safe output operation. Overrides the global safe-outputs github-token if specified. Supports GitHub Actions expressions like ${{ secrets.MY_TOKEN }}."
}
},
"additionalProperties": false
Expand Down Expand Up @@ -4693,6 +4789,10 @@
"items": {
"$ref": "#/properties/githubActionsStep"
}
},
"github-token": {
"type": "string",
"description": "GitHub token to use for this safe output operation. Overrides the global safe-outputs github-token if specified. Supports GitHub Actions expressions like ${{ secrets.MY_TOKEN }}."
}
},
"additionalProperties": false
Expand Down Expand Up @@ -4903,6 +5003,10 @@
"description": "Maximum number of mentions allowed per message. Default: 50",
"minimum": 1,
"default": 50
},
"github-token": {
"type": "string",
"description": "GitHub token to use for this safe output operation. Overrides the global safe-outputs github-token if specified. Supports GitHub Actions expressions like ${{ secrets.MY_TOKEN }}."
}
},
"additionalProperties": false
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/daily-copilot-token-report.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading