cpython/.github/workflows/require-pr-label.yml
shenxianpeng 676cecac1c
[3.13] gh-127785: Limit check labels github action permission (GH-130596) (#130623)
Co-authored-by: shenxianpeng <xianpeng.shen@gmail.com>
2025-02-27 14:57:41 +00:00

21 lines
497 B
YAML

name: Check labels
on:
pull_request:
types: [opened, reopened, labeled, unlabeled, synchronize]
jobs:
label:
name: DO-NOT-MERGE / unresolved review
if: github.repository_owner == 'python'
runs-on: ubuntu-latest
permissions:
pull-requests: read
timeout-minutes: 10
steps:
- uses: mheap/github-action-required-labels@v5
with:
mode: exactly
count: 0
labels: "DO-NOT-MERGE, awaiting changes, awaiting change review"