|
3618 | 3618 | }, |
3619 | 3619 | "additionalProperties": false |
3620 | 3620 | }, |
| 3621 | + "messages": { |
| 3622 | + "type": "object", |
| 3623 | + "description": "Custom message templates for safe-output footer and notification messages. Available placeholders: {workflow_name} (workflow name), {run_url} (GitHub Actions run URL), {triggering_number} (issue/PR/discussion number), {workflow_source} (owner/repo/path@ref), {workflow_source_url} (GitHub URL to source), {operation} (safe-output operation name for staged mode).", |
| 3624 | + "properties": { |
| 3625 | + "footer": { |
| 3626 | + "type": "string", |
| 3627 | + "description": "Custom footer message template for AI-generated content. Available placeholders: {workflow_name}, {run_url}, {triggering_number}, {workflow_source}, {workflow_source_url}. Example: '> Generated by [{workflow_name}]({run_url})'", |
| 3628 | + "examples": [ |
| 3629 | + "> Generated by [{workflow_name}]({run_url})", |
| 3630 | + "> AI output from [{workflow_name}]({run_url}) for #{triggering_number}" |
| 3631 | + ] |
| 3632 | + }, |
| 3633 | + "footer-install": { |
| 3634 | + "type": "string", |
| 3635 | + "description": "Custom installation instructions template appended to the footer. Available placeholders: {workflow_source}, {workflow_source_url}. Example: '> Install: `gh aw add {workflow_source}`'", |
| 3636 | + "examples": ["> Install: `gh aw add {workflow_source}`", "> [Add this workflow]({workflow_source_url})"] |
| 3637 | + }, |
| 3638 | + "staged-title": { |
| 3639 | + "type": "string", |
| 3640 | + "description": "Custom title template for staged mode preview. Available placeholders: {operation}. Example: '🎭 Preview: {operation}'", |
| 3641 | + "examples": ["🎭 Preview: {operation}", "## Staged Mode: {operation}"] |
| 3642 | + }, |
| 3643 | + "staged-description": { |
| 3644 | + "type": "string", |
| 3645 | + "description": "Custom description template for staged mode preview. Available placeholders: {operation}. Example: 'The following {operation} would occur if staged mode was disabled:'", |
| 3646 | + "examples": ["The following {operation} would occur if staged mode was disabled:"] |
| 3647 | + }, |
| 3648 | + "run-started": { |
| 3649 | + "type": "string", |
| 3650 | + "description": "Custom message template for workflow activation comment. Available placeholders: {workflow_name}, {run_url}, {event_type}. Default: 'Agentic [{workflow_name}]({run_url}) triggered by this {event_type}.'", |
| 3651 | + "examples": [ |
| 3652 | + "Agentic [{workflow_name}]({run_url}) triggered by this {event_type}.", |
| 3653 | + "[{workflow_name}]({run_url}) started processing this {event_type}." |
| 3654 | + ] |
| 3655 | + }, |
| 3656 | + "run-success": { |
| 3657 | + "type": "string", |
| 3658 | + "description": "Custom message template for successful workflow completion. Available placeholders: {workflow_name}, {run_url}. Default: '✅ Agentic [{workflow_name}]({run_url}) completed successfully.'", |
| 3659 | + "examples": ["✅ Agentic [{workflow_name}]({run_url}) completed successfully.", "✅ [{workflow_name}]({run_url}) finished."] |
| 3660 | + }, |
| 3661 | + "run-failure": { |
| 3662 | + "type": "string", |
| 3663 | + "description": "Custom message template for failed workflow. Available placeholders: {workflow_name}, {run_url}, {status}. Default: '❌ Agentic [{workflow_name}]({run_url}) {status} and wasn't able to produce a result.'", |
| 3664 | + "examples": [ |
| 3665 | + "❌ Agentic [{workflow_name}]({run_url}) {status} and wasn't able to produce a result.", |
| 3666 | + "❌ [{workflow_name}]({run_url}) {status}." |
| 3667 | + ] |
| 3668 | + } |
| 3669 | + }, |
| 3670 | + "additionalProperties": false |
| 3671 | + }, |
3621 | 3672 | "runs-on": { |
3622 | 3673 | "type": "string", |
3623 | 3674 | "description": "Runner specification for all safe-outputs jobs (activation, create-issue, add-comment, etc.). Single runner label (e.g., 'ubuntu-slim', 'ubuntu-latest', 'windows-latest', 'self-hosted'). Defaults to 'ubuntu-slim'. See https://github.blog/changelog/2025-10-28-1-vcpu-linux-runner-now-available-in-github-actions-in-public-preview/" |
|
0 commit comments