Skip to content

[task] Add missing descriptions for runs-on and concurrency in workflow schema #2753

Closed

Description

@github-actions

Objective

Add proper JSON Schema descriptions for the runs-on and concurrency fields in the main workflow schema.

Context

Schema consistency analysis (Discussion #2712) identified that these fundamental GitHub Actions fields are missing descriptions in our workflow schema. While they are standard GHA properties, our schema should describe them for completeness and user clarity.

Current Status: Both fields show "NO DESC" in schema analysis.

Approach

  1. Add a description property to the runs-on field in pkg/parser/schemas/main_workflow_schema.json
  2. Add a description property to the concurrency field in pkg/parser/schemas/main_workflow_schema.json
  3. Ensure descriptions accurately reflect GitHub Actions behavior and how they're used in agentic workflows

Files to Modify

  • Update: pkg/parser/schemas/main_workflow_schema.json

Suggested Descriptions

runs-on:

"Runner type for workflow execution. Accepts a string (e.g., 'ubuntu-latest'), array of labels, or object with groups/labels for self-hosted runners. Determines the environment where the workflow jobs execute."

concurrency:

"Concurrency control to ensure only a single workflow run or job executes at a time. Accepts a string (concurrency group name) or object with 'group' and 'cancel-in-progress' properties."

Acceptance Criteria

  • runs-on field has a clear, accurate description
  • concurrency field has a clear, accurate description
  • Descriptions follow the same style and format as other schema fields
  • Schema still validates correctly (run make build and make test-unit)
  • No breaking changes to existing workflow compilation

Reference

Priority

Immediate - Part of high-priority schema documentation improvements
Related to #2712

AI generated by Plan Command for discussion #2712

Activity

  1. added
    documentation
    enhancement
    on Oct 29, 2025
  2. pelikhan commented on Oct 29, 2025

    @pelikhan
    Collaborator

    This is by design. Add documentation to not report this anymore.

  3. assigned and unassigned on Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ai-generateddocumentationenhancementschematask

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions