Skip to content

Commit

Permalink
fix(devtools): only run the size label on internal PRs (Jigsaw-Code#1153
Browse files Browse the repository at this point in the history
)

* fix(ci): only run the size label on internal PRs

* better

* there

* ?

* hm

* test opposite case

* great it works
  • Loading branch information
daniellacosse authored Aug 25, 2022
1 parent 9fc8385 commit baf9ad0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pull_request_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit baf9ad0

Please sign in to comment.