mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-09-10 17:52:23 +08:00
Reduce the number of automated comments left on PR
This commit is contained in:
6
.github/workflows/pr-build-scan-comment.yml
vendored
6
.github/workflows/pr-build-scan-comment.yml
vendored
@@ -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 }}'
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user