mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-10-27 06:53:11 +08:00
Three native GitHub Actions to automate the mechanical parts of issue triage: - stale.yml: actions/stale scoped to the awaiting-reporter label — warns at 21 days idle, closes at 35, auto-resets when the reporter replies. Never touches PRs or unlabeled issues. - label-actions.yml + .github/label-actions.yml: posts a templated comment when duplicate or awaiting-reporter is applied (duplicates are linked, not auto-closed). - issue-labeler.yml + .github/issue-labeler.yml: adds area labels (windows, stability/performance, parsing/quality, editor/integration, ux/behavior, cypher, language-request) from title/body keywords. Additive only; base bug/enhancement labels still come from the forms. All third-party actions pinned to full commit SHAs with least-privilege per-job permissions (issues: write only where required). Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
29 lines
757 B
YAML
29 lines
757 B
YAML
name: Issue area labeler
|
|
|
|
# Adds area labels to new/edited issues based on keyword regexes in
|
|
# .github/issue-labeler.yml. Additive only (sync-labels off): it never
|
|
# removes a label a maintainer set by hand. Base bug/enhancement labels
|
|
# already come from the issue forms.
|
|
|
|
on:
|
|
issues:
|
|
types: [opened, edited]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
triage:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
issues: write
|
|
steps:
|
|
- uses: github/issue-labeler@c1b0f9f52a63158c4adc09425e858e87b32e9685 # v3.4
|
|
with:
|
|
configuration-path: .github/issue-labeler.yml
|
|
enable-versioned-regex: 0
|
|
include-title: 1
|
|
include-body: 1
|
|
sync-labels: 0
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|