Skip to content

example fails yaml validation #746

Closed
@boneskull

Description

@boneskull

Description:

The example in the README fails YAML schema validation in VSCode

Action version:

v5.0.0

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Repro steps:

  1. Create a new labeler.yml in .github
  2. Paste this (from the example):
    # Add 'source' label to any change to src files within the source dir EXCEPT for the docs sub-folder
    source:
    - all:
      - changed-files:
        - any-glob-to-any-file: 'src/**/*'
        - all-globs-to-all-files: '!src/docs/*'
  3. See error: image image

Expected behavior:
No validation error

Actual behavior:
See screenshots

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions