[Python-checkins] Also fail DO-NOT-MERGE when "awaiting changes" or "awaiting change review" present on PR (#103807)

ambv webhook-mailer at python.org
Mon Apr 24 19:49:57 EDT 2023


https://github.com/python/cpython/commit/b51da991e2f7b47efaee2665356060edb6a6ece4
commit: b51da991e2f7b47efaee2665356060edb6a6ece4
branch: main
author: Łukasz Langa <lukasz at langa.pl>
committer: ambv <lukasz at langa.pl>
date: 2023-04-25T01:49:50+02:00
summary:

Also fail DO-NOT-MERGE when "awaiting changes" or "awaiting change review" present on PR (#103807)

"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.

files:
M .github/workflows/require-pr-label.yml

diff --git a/.github/workflows/require-pr-label.yml b/.github/workflows/require-pr-label.yml
index 151a60c2c04d..916bbeb43527 100644
--- a/.github/workflows/require-pr-label.yml
+++ b/.github/workflows/require-pr-label.yml
@@ -6,7 +6,7 @@ on:
 
 jobs:
   label:
-    name: DO-NOT-MERGE
+    name: DO-NOT-MERGE / unresolved review
     runs-on: ubuntu-latest
     timeout-minutes: 10
 
@@ -15,4 +15,4 @@ jobs:
         with:
           mode: exactly
           count: 0
-          labels: "DO-NOT-MERGE"
+          labels: "DO-NOT-MERGE, awaiting changes, awaiting change review"



More information about the Python-checkins mailing list