Skip to content

[BUG] Cannot add a filter on labels in config files if their names contain colons #552

Open
@xamcost

Description

@xamcost

Describe the bug

Hi there! First, thank you for providing this great extension. I'm opening this issue to report the fact that I couldn't create a filter in my config file that involves a label name containing a colon (:) sign. However, it works if you do this filtering in the UI, as expected.

To Reproduce
Steps to reproduce the behavior:

  1. In the issue or PR section of your config file, add a filter such aslabel:"Priority: High". For instance:
issuesSections:
- title: High Priority
  filters: label:"Priority: High :red_circle:"
  1. Launch gh dash
  2. The dashboard won't launch, and an error will be thrown:
2025-03-13T18:37:50Z FATA <ui/ui.go:114> Reading config file: failed parsing config file location="" err="failed parsing config.yml: yaml: line 16: mapping values are not allowed in this context"

NB: it works in the UI (sorry for the cropped image, it is in a private org)
Image

Expected behavior

I would expect we can escape colons by wrapping the label filter in single or double quotes.

Desktop (please complete the following information):

  • OS: MacOS Sequoia 15.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions