aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2023-06-03 08:16:38 +0200
committerRon Evans <[email protected]>2023-06-07 12:54:15 +0200
commit213e73ad842e930c79856ebcc284e19890dc9774 (patch)
tree88b06cc44521d1fd6ff8e1c0de36b5e6a4ee693c /.github
parent4a240827cbb74a2f4892850349e37f13aa205c19 (diff)
downloadtinygo-213e73ad842e930c79856ebcc284e19890dc9774.tar.gz
tinygo-213e73ad842e930c79856ebcc284e19890dc9774.zip
build: only make comment on sizediff job when run from the main repo, take 2
Signed-off-by: deadprogram <[email protected]>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/sizediff.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/sizediff.yml b/.github/workflows/sizediff.yml
index cdad78cfd..05d2cca0e 100644
--- a/.github/workflows/sizediff.yml
+++ b/.github/workflows/sizediff.yml
@@ -88,7 +88,7 @@ jobs:
- name: Comment contents
run: cat comment.txt
- name: Add comment
- if: github.repository == 'tinygo-org/tinygo'
+ if: ${{ github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name }}
uses: thollander/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}