Browse Source

Disable `enforce-version-label` (#294)

pull/297/head
Michał Chęciński 2 years ago committed by GitHub
parent
commit
676d11eb6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 20
      .github/workflows/_enforce-labels.yml

20
.github/workflows/_enforce-labels.yml

@ -16,14 +16,14 @@ jobs: @@ -16,14 +16,14 @@ jobs:
echo "### :x: PRs with the hold or needs-qa labels cannot be merged" >> $GITHUB_STEP_SUMMARY
exit 1
enforce-version-label:
if: ${{ contains(github.event.*.labels.*.name, 'version') }}
name: Enforce version label
runs-on: ubuntu-22.04
# enforce-version-label:
# if: ${{ !contains(github.event.*.labels.*.name, 'version') }}
# 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
# 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

Loading…
Cancel
Save