Reduce the number of automated comments left on PR

This commit is contained in:
Daz DeBoer 2021-12-17 10:49:41 -07:00
parent ed5b4ae5dc
commit eda0038770
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D

View file

@ -1,5 +1,7 @@
name: Add a build scan comment to PR name: Add a build scan comment to PR
on: pull_request on:
pull_request:
types: [assigned, review_requested]
jobs: jobs:
gradle: gradle:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -21,5 +23,5 @@ jobs:
issue_number: context.issue.number, issue_number: context.issue.number,
owner: context.repo.owner, owner: context.repo.owner,
repo: context.repo.repo, 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 }}'
}) })