Skip to content

Commit

Permalink
ci: prevent the jobs for running on an action for fork
Browse files Browse the repository at this point in the history
  • Loading branch information
derevnjuk committed Dec 30, 2021
1 parent 1b0ded3 commit a6c38e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ jobs:
run: yarn build

benchmarks:
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down

0 comments on commit a6c38e3

Please sign in to comment.