Skip to content

Commit

Permalink
do not run size limit job outside of PRs
Browse files Browse the repository at this point in the history
Currently, this step emits the
"Error: No PR found. Only pull_request workflows are supported."
message when run on the master branch commits (after the merge),
so the change prevents it from being run there.
  • Loading branch information
paskal committed Jul 27, 2022
1 parent 63a2bde commit dde24c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ jobs:
size-limit:
name: Size limit
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
env:
CI_JOB_NUMBER: 1
steps:
Expand Down

0 comments on commit dde24c4

Please sign in to comment.