From eda0038770be9fe5b30edd99f3dfafe9459bf004 Mon Sep 17 00:00:00 2001 From: Daz DeBoer Date: Fri, 17 Dec 2021 10:49:41 -0700 Subject: [PATCH] Reduce the number of automated comments left on PR --- .github/workflows/pr-build-scan-comment.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-build-scan-comment.yml b/.github/workflows/pr-build-scan-comment.yml index f6e3337..afd8ef3 100644 --- a/.github/workflows/pr-build-scan-comment.yml +++ b/.github/workflows/pr-build-scan-comment.yml @@ -1,5 +1,7 @@ name: Add a build scan comment to PR -on: pull_request +on: + pull_request: + types: [assigned, review_requested] jobs: gradle: runs-on: ubuntu-latest @@ -21,5 +23,5 @@ jobs: issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - body: 'Dummy comment for PR: ${{ steps.gradle.outputs.build-scan-url }}' + body: 'PR ready for review: ${{ steps.gradle.outputs.build-scan-url }}' })