Merge pull request #6189 from matrix-org/gsouquet/disable-comments-on-forks

Disable comment-on-alert for PR coming from a fork
pull/21833/head
Germain 2021-06-15 15:06:30 +01:00 committed by GitHub
commit 520763a045
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -31,7 +31,9 @@ jobs:
tool: 'jsperformanceentry'
output-file-path: test/end-to-end-tests/performance-entries.json
fail-on-alert: false
comment-on-alert: true
# Secrets are not passed to fork, the action won't be able to comment
# for community PRs
comment-on-alert: ${{ github.repository_owner == 'matrix-org' }}
# Only temporary to monitor where failures occur
alert-comment-cc-users: '@gsouquet'
github-token: ${{ secrets.DEPLOY_GH_PAGES }}