Skip to content

chore: improve code quality and documentation#1

Open
AungMyoKyaw wants to merge 1 commit into
mainfrom
chore/improve-code-quality-documentation
Open

chore: improve code quality and documentation#1
AungMyoKyaw wants to merge 1 commit into
mainfrom
chore/improve-code-quality-documentation

Conversation

@AungMyoKyaw

Copy link
Copy Markdown
Owner

Summary

This PR improves code quality and documentation for the repository:

  • Added .gitignore file with common patterns for macOS, editors, logs, dependencies, environment files, temporary files, build outputs, test coverage, and OS-generated files
  • Added .github/ISSUE_TEMPLATE/config.yml to guide users to official documentation and GitHub Discussions before opening blank issues
  • Improved README.md with:
    • Table of Contents for better navigation
    • Formatted supported platforms as a table
    • Added note formatting for organization/enterprise restriction
    • Added comprehensive Security section with token security and best practices
    • Expanded Feedback section with structured guidance
    • Added Contributing guidelines
    • Added License section with proper link
  • Fixed typo in workflow name (tab -> label)
  • Added missing pull-requests: write permission to stale-issues workflow
  • Added repo-token to stale-issues workflow

Test plan

  • Verify .gitignore patterns are appropriate
  • Verify issue template config works correctly
  • Verify README renders correctly on GitHub
  • Verify workflows pass syntax validation

- Add .gitignore for common files (macOS, editors, logs, etc.)
- Add issue template config with links to docs and discussions
- Improve README with Table of Contents, Security section, Contributing guidelines
- Fix typo in workflow name (tab -> label)
- Add missing pull-requests permission to stale-issues workflow
- Add repo-token to stale-issues workflow
Copilot AI review requested due to automatic review settings February 16, 2026 02:27

Copilot AI 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.

Pull request overview

This PR focuses on repo hygiene and community-facing documentation by adding standard ignore rules, improving GitHub issue intake UX, refining README guidance (including security guidance), and tightening a couple of GitHub Actions workflows.

Changes:

  • Added a standard .gitignore for common OS/editor/dependency/build artifacts.
  • Added .github/ISSUE_TEMPLATE/config.yml to disable blank issues and route users to docs/discussions.
  • Updated README structure (ToC, platform table, security guidance, contributing/license sections) and adjusted workflows (stale action permissions/token; workflow name typo fix).

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
README.md Adds ToC, security/feedback/contributing/license sections and improves formatting.
.gitignore Introduces common ignore patterns for local/dev artifacts.
.github/workflows/stale-issues.yml Grants PR write permission and supplies repo token to actions/stale.
.github/workflows/on-issue-close.yml Fixes workflow name text (“tab” → “label”).
.github/ISSUE_TEMPLATE/config.yml Disables blank issues and adds contact links to docs/discussions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
Comment on lines +118 to +120
- **Opening an issue:** Report bugs or request features using our [issue templates](/.github/ISSUE_TEMPLATE/)
- **Joining Discussions:** Participate in community conversations
- **Submitting feedback:** Run `/feedback` from the CLI to submit a confidential feedback survey

Copilot AI Feb 16, 2026

Copy link

Choose a reason for hiding this comment

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

The link to the issue templates uses an absolute path (/.github/ISSUE_TEMPLATE/), which GitHub renders as https://github.com/.github/ISSUE_TEMPLATE/ (not this repo). Use a repo-relative link (e.g., ./.github/ISSUE_TEMPLATE/) or link directly to the issue chooser page (https://github.com/github/copilot-cli/issues/new/choose).

Copilot uses AI. Check for mistakes.
Comment thread README.md
Comment on lines +127 to +129
2. Search existing [issues](https://github.com/github/copilot-cli/issues) to see if your question has been addressed
3. Open a new issue using the appropriate [issue template](/.github/ISSUE_TEMPLATE/)

Copilot AI Feb 16, 2026

Copy link

Choose a reason for hiding this comment

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

This issue-template link uses an absolute path (/.github/ISSUE_TEMPLATE/), which points to github.com/.github/... instead of this repository. Prefer a repo-relative link (e.g., ./.github/ISSUE_TEMPLATE/) or https://github.com/github/copilot-cli/issues/new/choose.

Copilot uses AI. Check for mistakes.
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.

2 participants