Skip to content

Commit b728d78

Browse files
authored
GHA: Only run GHA comment script if PR origin is from FINOS - v2
Changing the variable used to check the source repo of a PR
1 parent a6e8d38 commit b728d78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353

5454
# Only post comments if the PR came from FINOS (the only repo with permission to run it)
5555
- name: PR comment with file
56-
if: github.repository == 'finos/FDC3'
56+
if: github.event.pull_request.head.repo.full_name == 'finos/FDC3'
5757
uses: thollander/actions-comment-pull-request@v3
5858
with:
5959
file-path: test-summary.md

0 commit comments

Comments
 (0)