Skip to content

Commit 71a2cad

Browse files
chore(ci): skip commenting in other repos
1 parent 942bae2 commit 71a2cad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ jobs:
5353
with:
5454
coverage-files: coverage/lcov.info
5555
minimum-coverage: 90
56-
github-token: ${{ secrets.GITHUB_TOKEN }}
56+
github-token: ${{ github.actor == 'JasonWeinzierl' && secrets.GITHUB_TOKEN || '' }} # Only leave a comment if the PR is from the main repo (otherwise it fails due to security restrictions).
5757
update-comment: true

0 commit comments

Comments
 (0)