Skip to content

feat: GitHub bot for repo organization and maintenance#1950

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-github-bot-for-repo-organization
Draft

feat: GitHub bot for repo organization and maintenance#1950
Copilot wants to merge 2 commits intomainfrom
copilot/add-github-bot-for-repo-organization

Conversation

Copy link
Contributor

Copilot AI commented Mar 13, 2026

No automation existed to keep issues/PRs triaged, dependencies updated, or contributors guided through a consistent contribution flow.

Stale management

  • workflows/stale.yml — daily cron; issues → stale at 60d, closed at +7d; PRs → stale at 30d, closed at +7d. Exempt labels: pinned, security, bug, in-progress, do-not-merge

Auto-labeling

  • workflows/label.yml — labels PRs via path globs (actions/labeler); labels issues on open/reopen by scanning body for keywords (bug, feature, mobile, api, web, docs)
  • labeler.yml — glob → label mapping: mobile (apps/expo/**), api (packages/api/**), database (drizzle/db), web (landing + guides), ci/cd (.github/**), dependencies (package.json, bun.lock)

Issue & PR templates

  • ISSUE_TEMPLATE/bug_report.yml — area dropdown, repro steps, platform multi-select, log attachment
  • ISSUE_TEMPLATE/feature_request.yml — problem/solution/alternatives structured form
  • ISSUE_TEMPLATE/config.yml — disables blank issues; surfaces Discussions link
  • PULL_REQUEST_TEMPLATE.md — type of change, affected areas, per-platform test checklist, pre-merge gates (format, types, no secrets, migration, feature flag, conventional commit)

Dependabot

  • dependabot.yml — weekly updates for GitHub Actions + all 5 npm workspaces (root, packages/api, apps/expo, apps/landing, apps/guides). Grouped updates for Expo SDK, TanStack Query, Hono, Drizzle. Major bumps for react, react-native, expo ignored to prevent unexpected breakage.

📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

…ained

Co-authored-by: andrew-bierman <94939237+andrew-bierman@users.noreply.github.com>
Copilot AI changed the title [WIP] Add GitHub bot to help keep repo organized feat: GitHub bot for repo organization and maintenance Mar 13, 2026
Copilot AI requested a review from andrew-bierman March 13, 2026 04:05
@andrew-bierman andrew-bierman requested review from Copilot and removed request for andrew-bierman March 13, 2026 06:16
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds GitHub repository hygiene/automation configuration to improve triage, labeling, and dependency update management for the PackRat monorepo.

Changes:

  • Introduces stale issue/PR automation via actions/stale.
  • Adds automatic labeling for PRs (path-based) and issues (keyword-based), plus a labeler mapping config.
  • Adds Dependabot configuration for GitHub Actions and workspace dependency updates, and standardizes PR/issue templates.

Reviewed changes

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

Show a summary per file
File Description
.github/workflows/stale.yml Daily stale marking/closing automation for issues and PRs.
.github/workflows/label.yml Auto-labels PRs via actions/labeler and issues via github-script.
.github/PULL_REQUEST_TEMPLATE.md Adds a PR template with change type/areas/testing/checklist.
.github/labeler.yml Defines label-to-path glob mappings used by the PR labeler workflow.
.github/ISSUE_TEMPLATE/feature_request.yml Adds a structured feature request issue form.
.github/ISSUE_TEMPLATE/bug_report.yml Adds a structured bug report issue form.
.github/ISSUE_TEMPLATE/config.yml Disables blank issues and points users to Discussions.
.github/dependabot.yml Configures Dependabot update cadence, labels, grouping, and ignore rules.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +24 to +31
ignore:
# Avoid major version bumps for heavy cross-platform deps — review manually
- dependency-name: 'react'
update-types: ['version-update:semver-major']
- dependency-name: 'react-native'
update-types: ['version-update:semver-major']
- dependency-name: 'expo'
update-types: ['version-update:semver-major']

<!-- A clear and concise description of what this PR changes and why. -->

Closes #<!-- issue number, if applicable -->
options:
- label: I have searched for existing issues and this is not a duplicate.
required: true
- label: I have read the contributing guidelines.
options:
- label: I have searched for existing issues and this is not a duplicate.
required: true
- label: I have read the contributing guidelines.
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.

3 participants