aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2023-05-29 22:02:18 +0200
committerRon Evans <[email protected]>2023-05-31 21:24:50 +0200
commitee90bdebfff426d8862906536ccbaf49d47c5409 (patch)
treeece491557850a958963c68516f296773358fc857 /.github
parentbcdb3fc681583a63f24ad7e2c595aabcd565b0c7 (diff)
downloadtinygo-ee90bdebfff426d8862906536ccbaf49d47c5409.tar.gz
tinygo-ee90bdebfff426d8862906536ccbaf49d47c5409.zip
build: only make comment on sizediff job when run from the main repo
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 61a8d9d4b..cdad78cfd 100644
--- a/.github/workflows/sizediff.yml
+++ b/.github/workflows/sizediff.yml
@@ -12,7 +12,6 @@ jobs:
runs-on: ubuntu-22.04
permissions:
pull-requests: write
- issues: write
steps:
# Prepare, install tools
- name: Add GOBIN to $PATH
@@ -89,6 +88,7 @@ jobs:
- name: Comment contents
run: cat comment.txt
- name: Add comment
+ if: github.repository == 'tinygo-org/tinygo'
uses: thollander/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}