Skip to content

Allow user to choose between issue type and labels - #511

Merged
grst merged 3 commits into
mainfrom
fix-492
Jun 16, 2026
Merged

grst merged 3 commits into
mainfrom
fix-492

Conversation

@grst

@grst grst commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Closes #492

grst and others added 3 commits June 8, 2026 17:33
GitHub issue types are only available to repositories owned by an
organization that has the feature enabled. Repositories without it
(personal accounts, or orgs that disabled the public preview) get a
broken issue template, since the `type:` key is rejected.

Add a cookiecutter `issue_categorization` prompt to choose between
`labels` (the portable default) and `issue types`, and render the
bug_report/feature_request templates accordingly.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

A PR has been generated to the instance repo: scverse/cookiecutter-scverse-instance#285

Checks Status Documentation Preview

You can check out the PR to preview your changes in an instance of the cookiecutter template.
It will be kept in sync with this PR automatically.

@grst
grst requested a review from flying-sheep June 8, 2026 16:00
Comment thread cookiecutter.json
"github_repo": "If the repo name should differ from the project name, edit it now",
"ide_integration": "Whether to generate IDE configuration files"
"ide_integration": "Whether to generate IDE configuration files",
"issue_categorization": "How to categorize issues in the issue templates. “issue types” only works in GitHub organizations, while “labels” also works in personal repos."

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@grst

grst commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator Author

Ok, I'm going to merge this for now. Should they ever implement this feature we can roll back the changes.

This was referenced Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue template may be broken

2 participants