Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 520763a

Browse files
authored
Merge pull request #6189 from matrix-org/gsouquet/disable-comments-on-forks
Disable comment-on-alert for PR coming from a fork
2 parents bef20dd + 8dbc5bd commit 520763a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/develop.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ jobs:
3131
tool: 'jsperformanceentry'
3232
output-file-path: test/end-to-end-tests/performance-entries.json
3333
fail-on-alert: false
34-
comment-on-alert: true
34+
# Secrets are not passed to fork, the action won't be able to comment
35+
# for community PRs
36+
comment-on-alert: ${{ github.repository_owner == 'matrix-org' }}
3537
# Only temporary to monitor where failures occur
3638
alert-comment-cc-users: '@gsouquet'
3739
github-token: ${{ secrets.DEPLOY_GH_PAGES }}

0 commit comments

Comments
 (0)