Skip to content

GitHub issue forms schema not detected despite correct directory and naming #1258

@gremo

Description

@gremo

GitHub issue forms schema not detected despite correct directory and naming. It works just fine for other types like GitHub workflow files and actions:

Image

Directory structure:

.github
├── actions
│   ├── resolve-packages
│   │   └── action.yaml
│   └── resolve-php-extensions
│       └── action.yaml
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── FUNDING.yaml
├── ISSUE_TEMPLATE
│   ├── 01_bug_report.yaml
│   ├── 02_feature_request.yaml
│   ├── 03_codebase_improvement.yml
│   ├── 04_question.yaml
│   └── ciao.yaml
├── SECURITY.md
└── workflows
    ├── build.yaml
    └── update-readme.yaml

From the catalog:

{
  "name": "GitHub Issue Template forms",
  "description": "YAML GitHub issue forms",
  "fileMatch": [
    "**/.github/ISSUE_TEMPLATE/**.yml",
    "**/.github/ISSUE_TEMPLATE/**.yaml"
  ],
  "url": "https://www.schemastore.org/github-issue-forms.json"
}

EDIT: I found that the catalog in use is indee https://www.schemastore.org/api/json/catalog.json where the same item is:

{
  "name": "GitHub Issue Template forms",
  "description": "YAML GitHub issue forms",
  "fileMatch": [
    "**/.github/ISSUE_TEMPLATE/!(config).yml",
    "**/.github/ISSUE_TEMPLATE/!(config).yaml"
  ],
  "url": "https://www.schemastore.org/github-issue-forms.json"
}

And the matcher **/.github/ISSUE_TEMPLATE/!(config).yaml is not working.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions