diff --git a/.github/workflows/pull-request-commentor.yaml b/.github/workflows/pull-request-commentor.yaml index 60a608575..d5454fe32 100644 --- a/.github/workflows/pull-request-commentor.yaml +++ b/.github/workflows/pull-request-commentor.yaml @@ -10,7 +10,8 @@ on: - labeled jobs: add-comment: - if: github.event.label.name == 'ok-to-test' + # yamllint disable-line rule:line-length + if: github.event.label.name == 'ok-to-test' && github.event.pull_request.merged != 'true' runs-on: ubuntu-latest permissions: pull-requests: write