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
This commit is contained in:
Daniel LaCosse 2022-08-25 16:05:33 -04:00 committed by GitHub
parent 9fc83859c2
commit baf9ad0039
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: |