Skip to content

Commit ab5b5ff

Browse files
chore(ci): actually only run on the main repo
github.actor is whoever kicked it off, not the owner
1 parent 71a2cad commit ab5b5ff

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: ${{ 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).
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)