This repository was archived by the owner on May 14, 2025. It is now read-only.
Link to legacy docs in readme #495
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Enforce PR labels | |
on: | |
pull_request: | |
types: [labeled, unlabeled, opened, edited, synchronize] | |
jobs: | |
enforce-label: | |
name: EnforceLabel | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Enforce Label | |
uses: yogevbd/enforce-label-action@a3c219da6b8fa73f6ba62b68ff09c469b3a1c024 # 2.2.2 | |
with: | |
BANNED_LABELS: "hold,needs-qa" | |
BANNED_LABELS_DESCRIPTION: "PRs with the hold or needs-qa labels cannot be merged" |