Skip to content

Commit 213e73a

Browse files
committed
build: only make comment on sizediff job when run from the main repo, take 2
Signed-off-by: deadprogram <[email protected]>
1 parent 4a24082 commit 213e73a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sizediff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
- name: Comment contents
8989
run: cat comment.txt
9090
- name: Add comment
91-
if: github.repository == 'tinygo-org/tinygo'
91+
if: ${{ github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name }}
9292
uses: thollander/[email protected]
9393
with:
9494
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)