From ee90bdebfff426d8862906536ccbaf49d47c5409 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Mon, 29 May 2023 22:02:18 +0200 Subject: [PATCH] build: only make comment on sizediff job when run from the main repo Signed-off-by: deadprogram --- .github/workflows/sizediff.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sizediff.yml b/.github/workflows/sizediff.yml index 61a8d9d4..cdad78cf 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/actions-comment-pull-request@v2.3.1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}