Skip to content

docs: add issue templates - #9

Merged
uniqueg merged 3 commits into
mainfrom
docs/issue-templates
Oct 27, 2026
Merged

uniqueg merged 3 commits into
mainfrom
docs/issue-templates

Conversation

@uniqueg

@uniqueg uniqueg commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds the default issue templates of the organisation as issue forms in .github/ISSUE_TEMPLATE/:

  • bug-report.yml: description and steps to reproduce (required), version, logs and additional context; labelled type: bug and status: new.
  • feature-request.yml: problem and proposed solution (required), alternatives and additional context; labelled type: feature and status: new.
  • other.yml: a minimal form for anything else, with one required description field and a warning not to report vulnerabilities; labelled status: new.
  • config.yml: blank_issues_enabled: false, and contact links to the security policy and to the community contact page.

The bug report's version field is optional, as not every repository is versioned software.

Blank issues: I first enabled them (blank_issues_enabled: true), but a real blank issue shows no warning, so a reporter could post vulnerability details publicly, and it skips the status: new label (Sourcery and the quality reviewer both flagged this). The "Other" form is the blank route instead: as close to blank as an issue form gets (an issue form needs at least one input field), with the warning and the label. It replaces the free-form route of cloud-components' general-purpose template.

The labels are the organisation's standard labels; GitHub skips labels that a repository doesn't have. status: new follows cloud-components' template.

Closes #4

Verification

  • yamllint (default rules, line length 80): no findings.
  • check-jsonschema --builtin-schema vendor.github-issue-forms (all three forms) and vendor.github-issue-config (config.yml): ok.
  • Review: light lane (quality reviewer + Sourcery, no adversarial review, per the user). Quality reviewer findings fixed in follow-up commits, except those declined below.
  • Sourcery: one finding (vulnerability reports through blank issues), fixed in cb8162e (the "Other" form); thread resolved.
  • No CI workflows in this repository.

Declined review findings

  • Security link hard-coded to main of this repository (low): kept; it works once the security policy pull request is merged, so merge that one first.

Open questions

None.

Notes for the maintainer

  • GitHub uses the files of this repository as org defaults only while it is public; it is still private.
  • The security contact link points to this repository's SECURITY.md (Add org-wide security policy #3), as config.yml can't link to the policy of the repository the issue is opened in.

🤖 Generated with Claude Code

uniqueg and others added 2 commits October 27, 2026 03:38
Add default issue forms for the organisation: a bug report and a
feature request, labelled with the type and status: new, as in
cloud-components' template. config.yml enables blank issues and adds
contact links to the security policy and the community contact page.

Closes #4

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Not every repository is versioned software, so the version field is
optional. Shorten the security note and say where screenshots and files
go.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Adds organization-standard GitHub issue forms for bug reports and feature requests, with required structured information and automatic labels, plus configuration that preserves blank issues and provides security and community contact links.

File-Level Changes

Change Details Files
Add organization-wide bug and feature issue forms with structured prompts and automatic categorization.
  • Require core reproduction/problem details while keeping supplementary troubleshooting and context fields optional.
  • Apply standard bug or feature and new-status labels.
  • Direct users away from duplicate reports and public vulnerability disclosures.
.github/ISSUE_TEMPLATE/bug-report.yml
.github/ISSUE_TEMPLATE/feature-request.yml
Configure issue entry points and contact guidance for repositories using the organization defaults.
  • Keep GitHub's true blank issue option enabled.
  • Link vulnerability reports to the organization security policy and general questions to the community contact page.
.github/ISSUE_TEMPLATE/config.yml

Assessment against linked issues

Issue Objective Addressed Explanation
#4 Add an organization-wide YAML bug report form for repositories without their own issue templates. ✅
#4 Add an organization-wide YAML feature request form for repositories without their own issue templates. ✅
#4 Allow blank issues and provide issue configuration with a contact link to the security policy. ✅

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@uniqueg
uniqueg marked this pull request as ready for review October 27, 2026 03:30

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path=".github/ISSUE_TEMPLATE/config.yml" line_range="2" />
<code_context>
+---
+blank_issues_enabled: true
+contact_links:
+  - name: Report a vulnerability
</code_context>
<issue_to_address>
**Vulnerability reports can become public**

When a reporter uses the blank-issue route to report a vulnerability, a security researcher who selects the blank-issue route can submit vulnerability details as a public issue; that route has no private-reporting warning, so the disclosure is visible to everyone.

Disable blank issues or replace the blank route with an issue form that prominently directs vulnerability reports to the private security channel.
</issue_to_address>

Sourcery assessment

Needs a human reviewer. 1 finding to address first, and the templates change what submitters see and apply default labels to issues they create. Reverting removes the templates, but already-created issues and their labels remain; any incorrect labels or issue content would be limited and could be corrected manually.

Blocking findings: .github/ISSUE_TEMPLATE/config.yml:2

Comment thread .github/ISSUE_TEMPLATE/config.yml Resolved
A blank issue shows no warning, so a reporter could post vulnerability
details publicly. A minimal Other form with one required field warns
against that and labels the issue status: new, like the other forms.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@uniqueg
uniqueg merged commit 4b162c1 into main Oct 27, 2026
1 check passed
@uniqueg
uniqueg deleted the docs/issue-templates branch October 27, 2026 09:45
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.

Add org-wide issue templates

1 participant