Skip to content

Commit ce90476

Browse files
chore(ci): skip commenting when coming from other repos
1 parent fb442a8 commit ce90476

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: 50
56-
github-token: ${{ secrets.GITHUB_TOKEN }}
56+
github-token: ${{ github.repository_owner == '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)