Skip to content

Workflow syntax reference doesn't document top-level description key #46853

Open

Description

@Josh-Woodcock

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax

What part(s) of the article would you like to see updated?

The top-level keys documented are name, run-name, on, permissions, env, defaults, concurrency, cache-mode and jobs. There's no entry for description.

GitHub's own workflow schema has accepted a root-level description since January 2025:

Could the reference add a description section saying whether it's supported, what it's for (e.g. describing reusable workflows), and whether it's shown anywhere in the UI?

Additional information

Because it isn't documented, third-party tools that follow the docs reject it. actionlint (v1.7.12, latest) reports unexpected key "description" for "workflow" section, and the SchemaStore github-workflow.json schema, used by many editors' YAML validation, doesn't allow it either. Meanwhile the official GitHub Actions VS Code extension accepts it. We ran into this reviewing a reusable workflow, where different tools gave opposite answers about whether the file was valid.

Activity

  1. added
    triageDo not begin working on this issue until triaged by the team
    on Nov 6, 2026
  2. janiceilene commented on Nov 6, 2026

    @janiceilene
    Contributor

    Thanks for opening an issue @Josh-Woodcock! I'll get this triaged to the appropriate team for review.

  3. added and removed
    triageDo not begin working on this issue until triaged by the team
    on Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions