diff --git a/.github/workflows/pr-comment.yaml b/.github/workflows/pr-comment.yaml index a66720f..71213c2 100644 --- a/.github/workflows/pr-comment.yaml +++ b/.github/workflows/pr-comment.yaml @@ -7,7 +7,13 @@ on: jobs: pr-commented: name: PR commented - if: ${{ github.event.label.name == 'queued' }} || contains(github.event.comment.body, 're') + if: contains(github.event.comment.html_url, '/pull/') || ${{ github.event.label.name == 'queued' }} runs-on: self-hosted steps: - run: "echo Found it!" + pr-commented-1: + name: PR commented-1 + if: contains(github.event.comment.html_url, '/pull/') + runs-on: self-hosted + steps: + - run: "echo Found it"