mirror of
https://github.com/bitwarden/browser
synced 2024-12-27 18:34:29 +01:00
618253fb14
* Fix version bump to run enforce labels workflow * Add login to Azure * Trigger enforce labels manually from bump version workflow * Update .github/workflows/enforce-labels.yml Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com> * Update .github/workflows/version-bump.yml Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com> Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
18 lines
480 B
YAML
18 lines
480 B
YAML
---
|
|
name: Enforce PR labels
|
|
|
|
on:
|
|
workflow_call:
|
|
pull_request:
|
|
types: [labeled, unlabeled, opened, edited, synchronize]
|
|
jobs:
|
|
enforce-label:
|
|
name: EnforceLabel
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- name: Enforce Label
|
|
uses: yogevbd/enforce-label-action@8d1e1709b1011e6d90400a0e6cf7c0b77aa5efeb # v2.1.0
|
|
with:
|
|
BANNED_LABELS: "hold,needs-qa"
|
|
BANNED_LABELS_DESCRIPTION: "PRs with the hold or needs-qa labels cannot be merged"
|