Skip to content

Commit

Permalink
Update enforce-labels workflow to allow 'version:skip' label
Browse files Browse the repository at this point in the history
  • Loading branch information
michalchecinski committed Jan 9, 2025
1 parent 279c8f0 commit a9d60c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/enforce-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a9d60c9

Please sign in to comment.