From baf9ad0039129fb1b5bdba7cbca59b9e1205dd9e Mon Sep 17 00:00:00 2001 From: Daniel LaCosse Date: Thu, 25 Aug 2022 16:05:33 -0400 Subject: [PATCH] fix(devtools): only run the size label on internal PRs (#1153) * fix(ci): only run the size label on internal PRs * better * there * ? * hm * test opposite case * great it works --- .github/workflows/pull_request_checks.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request_checks.yml b/.github/workflows/pull_request_checks.yml index 14340f51..b21ccd71 100644 --- a/.github/workflows/pull_request_checks.yml +++ b/.github/workflows/pull_request_checks.yml @@ -46,7 +46,10 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - name: Apply Size Label + # size-label-action fails to work when coming from a fork: + # https://github.com/pascalgn/size-label-action/issues/10 + - if: ${{ !github.event.pull_request.head.repo.fork }} + name: Apply Size Label uses: pascalgn/size-label-action@a4655c448bb838e8d73b81e97fd0831bb4cbda1e env: IGNORED: |