cpython/.github/workflows/require-pr-label.yml
Łukasz Langa 99db23d941
[3.11] Also fail DO-NOT-MERGE when "awaiting changes" or "awaiting change review" present on PR (GH-103807) (#103814)
"awaiting changes" means somebody put a review that requested changes.

"awaiting change review" means that the PR author published changes
after a red review and then requested a re-review.

(cherry picked from commit b51da991e2)
2023-04-25 00:48:17 +00:00

18 lines
410 B
YAML

name: Check labels
on:
pull_request:
types: [opened, reopened, labeled, unlabeled, synchronize]
jobs:
label:
name: DO-NOT-MERGE / unresolved review
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: mheap/github-action-required-labels@v4
with:
mode: exactly
count: 0
labels: "DO-NOT-MERGE, awaiting changes, awaiting change review"