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:
6
.github/workflows/enforce-labels.yml
vendored
6
.github/workflows/enforce-labels.yml
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user