diff --git a/.github/workflows/do-not-merge-checker.yml b/.github/workflows/do-not-merge-checker.yml index 492b7e03a6c3..1956bb433df8 100644 --- a/.github/workflows/do-not-merge-checker.yml +++ b/.github/workflows/do-not-merge-checker.yml @@ -13,7 +13,7 @@ jobs: # checks that a do-not-merge label is not present for a PR do-not-merge-check: # If there is a `do-not-merge` label, or this comes from a fork (community contributor) we ignore this check - if: ${{ (github.repository_owner == 'hashicorp' && contains(github.event.pull_request.labels.*.name, 'do-not-merge')) }} + if: ${{ contains(github.event.pull_request.labels.*.name, 'do-not-merge') }} runs-on: ubuntu-latest steps: - name: Fail if do-not-merge label is applied