[deps]: Update npm minor #187
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Enforce PR labels | |
on: | |
pull_request: | |
types: [labeled, unlabeled, opened, reopened, synchronize] | |
jobs: | |
enforce-labels: | |
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'))" | |
name: Enforce version label | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check for label | |
run: | | |
echo "PR without the version label cannot be merged." | |
echo "### :x: PR without the version label cannot be merged" >> $GITHUB_STEP_SUMMARY | |
exit 1 |