From bf8049950c7186a6816f139c5c3b3e24fe1cf60d Mon Sep 17 00:00:00 2001 From: swathida-byte <97519234+swathida-byte@users.noreply.github.com> Date: Thu, 27 Oct 2022 14:53:30 +0530 Subject: [PATCH 1/5] Update pr-comment.yaml From 74740ea2d92f6594714560ab34684265587518ae Mon Sep 17 00:00:00 2001 From: swathida-byte <97519234+swathida-byte@users.noreply.github.com> Date: Thu, 27 Oct 2022 16:29:19 +0530 Subject: [PATCH 2/5] Update pr-comment.yaml --- .github/workflows/pr-comment.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/pr-comment.yaml b/.github/workflows/pr-comment.yaml index a66720f..3549972 100644 --- a/.github/workflows/pr-comment.yaml +++ b/.github/workflows/pr-comment.yaml @@ -11,3 +11,10 @@ jobs: runs-on: self-hosted steps: - run: "echo Found it!" + + pr-commented-1: + name: PR commented-1 + if: ${{ github.event.label.name == 'queued' }} + runs-on: self-hosted + steps: + - run: "echo Found it From a0ca4c342dc828db7602563a2f6f33b53869cd69 Mon Sep 17 00:00:00 2001 From: swathida-byte <97519234+swathida-byte@users.noreply.github.com> Date: Thu, 27 Oct 2022 16:30:26 +0530 Subject: [PATCH 3/5] Update pr-comment.yaml --- .github/workflows/pr-comment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-comment.yaml b/.github/workflows/pr-comment.yaml index 3549972..10ea602 100644 --- a/.github/workflows/pr-comment.yaml +++ b/.github/workflows/pr-comment.yaml @@ -17,4 +17,4 @@ jobs: if: ${{ github.event.label.name == 'queued' }} runs-on: self-hosted steps: - - run: "echo Found it + - run: "echo Found it" From 0892f4a3c494ef87e4ff3b47674c4bcdd4be758b Mon Sep 17 00:00:00 2001 From: swathida-byte <97519234+swathida-byte@users.noreply.github.com> Date: Thu, 27 Oct 2022 20:29:02 +0530 Subject: [PATCH 4/5] Update pr-comment.yaml --- .github/workflows/pr-comment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-comment.yaml b/.github/workflows/pr-comment.yaml index 10ea602..76d336f 100644 --- a/.github/workflows/pr-comment.yaml +++ b/.github/workflows/pr-comment.yaml @@ -7,14 +7,14 @@ 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: ${{ github.event.label.name == 'queued' }} + if: contains(github.event.comment.html_url, '/pull/') runs-on: self-hosted steps: - run: "echo Found it" From 5406d0f49cd201ea740b56819bf021e12f100a2f Mon Sep 17 00:00:00 2001 From: swathida-byte <97519234+swathida-byte@users.noreply.github.com> Date: Mon, 23 Jan 2023 13:42:37 +0530 Subject: [PATCH 5/5] Update pr-comment.yaml --- .github/workflows/pr-comment.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/pr-comment.yaml b/.github/workflows/pr-comment.yaml index 76d336f..71213c2 100644 --- a/.github/workflows/pr-comment.yaml +++ b/.github/workflows/pr-comment.yaml @@ -11,7 +11,6 @@ jobs: runs-on: self-hosted steps: - run: "echo Found it!" - pr-commented-1: name: PR commented-1 if: contains(github.event.comment.html_url, '/pull/')