Skip to content

meta: add GitHub issue templates for bugs, features, and docs#411

Open
anshul-garg27 wants to merge 3 commits intogoogleworkspace:mainfrom
anshul-garg27:meta/add-issue-templates
Open

meta: add GitHub issue templates for bugs, features, and docs#411
anshul-garg27 wants to merge 3 commits intogoogleworkspace:mainfrom
anshul-garg27:meta/add-issue-templates

Conversation

@anshul-garg27
Copy link

Summary

  • Add structured YAML form templates to .github/ISSUE_TEMPLATE/ for consistent, actionable issue reports
  • Three templates: bug report, feature request, documentation improvement
  • Add config.yml with link to security policy and blank issues enabled

Templates

Template Auto-label Key fields
Bug report bug gws version, OS, repro steps, expected vs actual
Feature request enhancement Problem, proposed solution, area selector
Docs improvement area: docs Document location, what's wrong, suggestion

Why

The repo currently has a PR template but no issue templates. Structured forms ensure consistent reports and make triage easier — especially important since this CLI is used by AI agents that benefit from reliable input formats.

Test plan

  • Verified YAML syntax is valid
  • Templates use GitHub's YAML form schema (not legacy markdown)
  • Labels match existing repo label conventions
  • config.yml links to SECURITY.md and allows blank issues

Closes #400

Add structured YAML form templates to `.github/ISSUE_TEMPLATE/` for
consistent, actionable issue reports:

- bug_report.yml — version, OS, reproduction steps, expected vs actual
- feature_request.yml — problem, proposed solution, area selector
- docs_improvement.yml — document location, what's wrong, suggestion
- config.yml — link to security policy, allow blank issues

Closes googleworkspace#400
@changeset-bot
Copy link

changeset-bot bot commented Mar 11, 2026

🦋 Changeset detected

Latest commit: c67060f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@googleworkspace/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the repository's issue management by introducing structured GitHub issue templates. The goal is to streamline the reporting process for bugs, feature requests, and documentation improvements, ensuring that all submissions are consistent and contain the necessary information for efficient triage. This change is particularly beneficial for AI agents interacting with the CLI, as it provides reliable input formats, ultimately improving the overall maintainability and responsiveness of the project.

Highlights

  • New Issue Templates: Structured YAML form templates have been added to .github/ISSUE_TEMPLATE/ for consistent and actionable issue reports.
  • Template Types: Three distinct templates are introduced: one for bug reports, one for feature requests, and one for documentation improvements.
  • Configuration File: A config.yml file has been added to enable blank issues and provide a direct link to the security policy.
Changelog
  • .changeset/add-issue-templates.md
    • Added a new changeset entry to document the addition of GitHub issue templates.
  • .github/ISSUE_TEMPLATE/bug_report.yml
    • Introduced a structured YAML form for bug reports, including fields for gws version, operating system, description, reproduction steps, expected behavior, actual behavior, and additional context.
    • Configured to automatically apply the 'bug' label to new issues created from this template.
  • .github/ISSUE_TEMPLATE/config.yml
    • Enabled the creation of blank issues.
    • Added a contact link for reporting security vulnerabilities, directing users to the SECURITY.md file.
  • .github/ISSUE_TEMPLATE/docs_improvement.yml
    • Created a YAML form for reporting documentation improvements, with fields for document location, description of what's wrong or missing, and suggested improvements.
    • Configured to automatically apply the 'area: docs' label to new issues created from this template.
  • .github/ISSUE_TEMPLATE/feature_request.yml
    • Provided a structured YAML form for feature requests, including fields for problem description, proposed solution, alternatives considered, and an area dropdown.
    • Configured to automatically apply the 'enhancement' label to new issues created from this template.
Activity
  • No human activity has occurred on this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Generative AI Prohibited Use Policy, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces GitHub issue templates for bug reports, feature requests, and documentation improvements, which will help standardize issue reporting. The changes are well-structured. I have one suggestion to improve the security vulnerability reporting process by making the contact link point directly to the vulnerability intake form, which will make it easier and faster for security researchers to report issues.

Comment on lines +4 to +5
url: https://github.com/googleworkspace/cli/blob/main/SECURITY.md
about: Report security vulnerabilities through our security policy
Copy link
Contributor

Choose a reason for hiding this comment

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

high

For a more direct and user-friendly process, the contact link for security vulnerabilities should point directly to the reporting page mentioned in SECURITY.md (https://g.co/vulnz) instead of the SECURITY.md file itself. This reduces the number of steps for the reporter and ensures they land on the correct intake form immediately, which is crucial for timely handling of security issues.

    url: https://g.co/vulnz
    about: Report security vulnerabilities via Google's vulnerability intake form.

@googleworkspace-bot
Copy link
Collaborator

/gemini review

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a set of GitHub issue templates for bug reports, feature requests, and documentation improvements. These templates are well-designed and will help in receiving structured and actionable issue reports. My review includes one high-severity suggestion for the config.yml file to improve the security vulnerability reporting workflow by linking directly to the intake form, which will make the process more efficient and secure for reporters.

Comment on lines +3 to +5
- name: Security Vulnerability
url: https://github.com/googleworkspace/cli/blob/main/SECURITY.md
about: Report security vulnerabilities through our security policy
Copy link
Contributor

Choose a reason for hiding this comment

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

high

The contact link for security vulnerabilities points to the SECURITY.md file. This adds an extra step for the user, as they have to navigate to that file and then click another link to report a vulnerability. To streamline this process and reduce the risk of accidental public disclosure, it's better to link directly to the vulnerability intake form. The SECURITY.md file itself indicates that https://g.co/vulnz is the correct place for reporting.

  - name: Security Vulnerability
    url: https://g.co/vulnz
    about: Report security vulnerabilities via Google's vulnerability intake form.

Address review feedback: point the security vulnerability contact link
to https://g.co/vulnz (the intake form) instead of the SECURITY.md
file, making it faster for reporters to submit vulnerabilities.
@googleworkspace-bot
Copy link
Collaborator

/gemini review

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces well-structured GitHub issue templates for bug reports, feature requests, and documentation improvements, which will improve the consistency of issue reports. The templates are well-designed. My only suggestion is to disable blank issues in config.yml to ensure these new templates are always used, maximizing their benefit and aligning with the goal of structured reporting.

@@ -0,0 +1,5 @@
blank_issues_enabled: true
Copy link
Contributor

Choose a reason for hiding this comment

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

high

The goal of this PR is to ensure consistent, actionable issue reports via structured templates. However, setting blank_issues_enabled: true allows users to bypass them, which undermines this goal. To maximize the benefit of these new templates, especially for AI agents that rely on structured input as mentioned in the PR description, I recommend disabling blank issues. This will enforce the use of the templates for all new issues.

blank_issues_enabled: false

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.

meta: add GitHub issue templates

2 participants