Skip to content

Commit

Permalink
Disable enforce-version-label (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
michalchecinski authored Jun 25, 2024
1 parent dbbbd28 commit 676d11e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/_enforce-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 676d11e

Please sign in to comment.