Skip to content
Permalink
Browse files
do not run size limit job outside of PRs
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
Dmitry Verkhoturov committed Jul 27, 2022
1 parent 63a2bde commit fc7540fc9bc5833c66bbf039ba8b56fe90b4ed7c
Showing 1 changed file with 1 addition and 0 deletions.
@@ -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:

0 comments on commit fc7540f

Please sign in to comment.