mirror of https://github.com/yewstack/yew
stop spamming bench comments (#2362)
This commit is contained in:
parent
5dd8b7635c
commit
42343b792d
|
@ -5,6 +5,7 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
|
types: [labeled, synchronize, opened, reopened]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
# deployments permission to deploy GitHub pages website
|
# deployments permission to deploy GitHub pages website
|
||||||
|
@ -37,7 +38,7 @@ jobs:
|
||||||
# Push and deploy GitHub pages branch automatically
|
# Push and deploy GitHub pages branch automatically
|
||||||
alert-threshold: "200%"
|
alert-threshold: "200%"
|
||||||
alert-comment-cc-users: "@yewstack/yew"
|
alert-comment-cc-users: "@yewstack/yew"
|
||||||
comment-always: true
|
comment-always: ${{ github.event_name != 'pull_request_target' || contains(github.event.pull_request.labels.*.name, 'performance') }}
|
||||||
comment-on-alert: true
|
comment-on-alert: true
|
||||||
# Don't push to gh-pages if its a pull request
|
# Don't push to gh-pages if its a pull request
|
||||||
auto-push: ${{ github.event_name != 'pull_request_target' }}
|
auto-push: ${{ github.event_name != 'pull_request_target' }}
|
||||||
|
|
Loading…
Reference in New Issue