Skip to content

Workflows using concurrency.queue fail schema validation ("Unknown Property queue") #6095

Description

@xenjke

Bug report info

act version:            0.2.88
GOOS:                   darwin
GOARCH:                 arm64
NumCPU:                 12
Docker host:            unix:///Users/.../docker.sock
Sockets found:
Config files:
        /Users/.../Library/Application Support/act/actrc
        /Users/.../.actrc
Build info:
        Go version:            go1.24+
        Main path:             github.com/nektos/act
        Main version:          0.2.88

Command used with act

act -l

Describe issue

act rejects valid workflows that use concurrency.queue, which GitHub officially documents under the workflow-syntax reference. Any workflow with queue: single or queue: max under concurrency fails schema validation at parse time, so the listing/run never starts.

Relevant references:

Per the docs, queue accepts single (default — at most one pending run) or max (up to 100 pending runs). The docs also state that queue: max combined with cancel-in-progress: true is a workflow validation error, but that mutual-exclusion is documented in prose only and not encoded in SchemaStore.

Link to GitHub repository

No response

Workflow content

name: queue-test
on: pull_request
concurrency:
  group: g
  queue: max
jobs:
  noop:
    runs-on: ubuntu-latest
    steps:
      - run: echo ok

Relevant log output

Error: workflow is not valid. 'queue.yml': Line: 4 Column 3: Failed to match string: Line: 4 Column 3: Expected a scalar got mapping
Line: 4 Column 3: Failed to match concurrency-mapping: Line: 6 Column 3: Unknown Property queue
Actions YAML Schema Validation Error detected:
For more information, see: https://nektosact.com/usage/schema.html

Additional information

Tracked in pkg/schema/workflow_schema.json - the concurrency-mapping definition lists only group and cancel-in-progress.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions