1
0
mirror of https://github.com/bitwarden/server synced 2026-01-08 11:33:26 +00:00

[DEVOPS-862] Update logic to workflow (#2194)

This commit is contained in:
Micaiah Martin
2022-08-24 14:42:59 +00:00
committed by GitHub
parent 308ae7641b
commit 61f4a27d2b
2 changed files with 20 additions and 20 deletions

View File

@@ -4,6 +4,10 @@ name: Enforce PR labels
on:
pull_request:
types: [labeled, unlabeled, opened, edited, synchronize]
workflow_run:
workflows: [Protect Files]
types: [completed]
jobs:
enforce-label:
name: EnforceLabel
@@ -12,5 +16,5 @@ jobs:
- name: Enforce Label
uses: yogevbd/enforce-label-action@a3c219da6b8fa73f6ba62b68ff09c469b3a1c024
with:
BANNED_LABELS: "hold, DB migrations changed"
BANNED_LABELS: "hold,DB-migrations-changed"
BANNED_LABELS_DESCRIPTION: "PRs with ${bannedLabel.name} label cannot be merged"