potiuk opened a new pull request, #221:
URL: https://github.com/apache/airflow-steward/pull/221
## Summary
Adds a once-per-session pre-pass to `pr-management-triage` that
promotes bot-authored draft PRs to "Ready for Review" (both the
GitHub draft toggle AND the `ready for maintainer review` label)
before the main classify loop runs.
- New **Step 0.5** in `SKILL.md` documents the pre-pass: fetches
open draft PRs authored by the F2 bot logins (`dependabot`,
`dependabot[bot]`, `renovate[bot]`, `github-actions`,
`github-actions[bot]`, `*[bot]`), presents the matches as a
single interaction-loop group with `[A]ll` as the default
keystroke.
- New **`promote-bot-draft`** action recipe in `actions.md`
bundles `gh pr ready` + label-add and inherits Golden rule 1b's
workflow-approval guard (refuses promotion if the head SHA has
`action_required` workflow runs).
- `classify-and-act.md` F2 row now notes the relationship to
Step 0.5 — F2 still excludes the same logins from the main
triage flow, so a maintainer who skips the Step 0.5 group
leaves the PR untouched.
## Test plan
- [ ] Run `/pr-management-triage` against a repo with open
Dependabot drafts — confirm the Step 0.5 group surfaces and
`[A]ll` promotes every PR (both `gh pr ready` and the
`ready for maintainer review` label).
- [ ] Verify the workflow-approval guard refuses promotion when
the head SHA has `action_required` runs.
- [ ] Confirm a non-bot draft is NOT picked up by the pre-pass
and still flows through the normal classify loop.
- [ ] Confirm the session summary reports a non-zero
"bot drafts promoted" count.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]