Skip to content

Error when specifying exclude_labels #327

Closed
@joffrey-bion

Description

@joffrey-bion

When I specify the exclude_labels property in the .github_changelog_generator file, I get the following error:

generator_processor.rb:9:in `&': no implicit conversion of String into Array (TypeError)
from generator_processor.rb:9:in `block in exclude_issues_by_labels'
from generator/generator_processor.rb:8:in `select'
...

I tried different syntaxes in the config file, but none work:

exclude-labels=duplicate,on hold,wontfix
exclude-labels=[duplicate,on hold,wontfix]
exclude-labels=["duplicate","on hold","wontfix"]

This does not occur when I specify it on the command line:

github_changelog_generator --exclude-labels=wontfix,duplicate

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions