You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cbb5836
Browse filesBrowse the repository at this point in the historyBrowse files
## DESCRIBE YOUR PR
Automates priority triage and non-blocking reviewer assignment for docs
PRs.
**What changes:**
- Parses the PR urgency section into mutually exclusive Urgent,
Deadline, Needs Triage, or Normal labels.
- Adds one non-blocking reminder comment when a ready PR has missing or
malformed priority metadata, and removes it after correction.
- Requests `getsentry/docs` only for ready, human-authored PRs that are
urgent/deadline-based, external, significant changes under `docs/**`, or
significant changes overall.
- Preserves the existing commented CODEOWNERS specialist assignments
without making Docs or specialists required reviewers.
- Moves external-PR evaluation to trusted `pull_request_target`
workflows with least-privilege tokens and base-SHA validation.
- Removes nine unused, overlapping labels.
- Updates the PR template to require exactly one urgency selection and
ISO `YYYY-MM-DD` deadline dates.
Slack alerts and a daily digest will be added in as a part of this
workflow in a follow-up PR.
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## TEST PLAN
- `pnpm exec vitest run scripts/docs-pr-triage.test.mjs
scripts/pr-reviewer-assignment.test.mjs
scripts/pr-priority-metadata.test.mjs
scripts/codeowner-workflow.test.mjs
scripts/priority-metadata-workflow.test.mjs` (114 focused tests)
- `pnpm test:ci` (346 tests)
- Targeted ESLint, Prettier, Node syntax, workflow YAML, and `git diff
--check` validation
- Real reviewer dry runs against PRs #19031, #19037, #19055, and #19075
- Real metadata dry runs against PRs #19031, #19073, and #19075
- `github-label-sync@2.2.0 --dry-run` verified only four label creations
and nine confirmed zero-use deletions
## PRE-MERGE CHECKLIST
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
## EXTRA RESOURCES
- [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)
---------
Co-authored-by: Shannon Anahata <shannonanahata@gmail.com>
0 commit comments