feat: GitHub bot for repo organization and maintenance#1950
Draft
feat: GitHub bot for repo organization and maintenance#1950
Conversation
…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
Contributor
There was a problem hiding this comment.
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-mergeAuto-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 attachmentISSUE_TEMPLATE/feature_request.yml— problem/solution/alternatives structured formISSUE_TEMPLATE/config.yml— disables blank issues; surfaces Discussions linkPULL_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 forreact,react-native,expoignored 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.