mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-25 06:49:04 +00:00
build: only make comment on sizediff job when run from the main repo, take 2
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
@@ -88,7 +88,7 @@ jobs:
|
|||||||
- name: Comment contents
|
- name: Comment contents
|
||||||
run: cat comment.txt
|
run: cat comment.txt
|
||||||
- name: Add comment
|
- 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/actions-comment-pull-request@v2.3.1
|
uses: thollander/actions-comment-pull-request@v2.3.1
|
||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user