Skip to content

found unexpected type for label 'xxxxxxxx' (should be array of config options) #710

@danielmayor

Description

@danielmayor

Description:
Somehow, today the labeler action started to fail. I didn't change any labeler config file or setup. I wonder if it's because of the new release (v5.0.0).

Execution output:

Run actions/labeler@master
  with:
    repo-token: ***
    configuration-path: .github/labeler.yml
    sync-labels: false
    dot: true
The configuration file (path: .github/labeler.yml) was not found locally, fetching via the api
Error: Error: found unexpected type for label 'frontend' (should be array of config options)
Error: found unexpected type for label 'frontend' (should be array of config options)

.github/labeler.yml:

frontend:
  - shared/frontend/**/*

pdf:
  - shared/pdf/**/*

configurations:
  - .circleci/**/*
  - .github/**/*

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Repro steps:
The action runs automatically every time I create a PR. The labeler.yml hasn't any changes.

Expected behavior:
Action should run successfully.

Actual behavior:
I get this error: Error: Error: found unexpected type for label 'frontend' (should be array of config options)

Metadata

Metadata

Assignees

No one assigned

    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