From a9d60c9cffab1786a5bcc727a1ce297439e7e589 Mon Sep 17 00:00:00 2001 From: Michal Checinski Date: Thu, 9 Jan 2025 13:14:11 +0100 Subject: [PATCH] Update enforce-labels workflow to allow 'version:skip' label --- .github/workflows/enforce-labels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/enforce-labels.yml b/.github/workflows/enforce-labels.yml index c14828c..b559b28 100644 --- a/.github/workflows/enforce-labels.yml +++ b/.github/workflows/enforce-labels.yml @@ -9,7 +9,7 @@ jobs: uses: bitwarden/gh-actions/.github/workflows/_enforce-labels.yml@main enforce-version-label: - if: "!(contains(github.event.pull_request.labels.*.name, 'version:major') || contains(github.event.pull_request.labels.*.name, 'version:minor') || contains(github.event.pull_request.labels.*.name, 'version:patch'))" + if: "!(contains(github.event.pull_request.labels.*.name, 'version:major') || contains(github.event.pull_request.labels.*.name, 'version:minor') || contains(github.event.pull_request.labels.*.name, 'version:patch')) || contains(github.event.pull_request.labels.*.name, 'version:skip'))" name: Enforce version label runs-on: ubuntu-22.04