Skip to content

Commit 216b7e7

Browse files
committed
ci: prevent the jobs for running on an action for fork
See details in actions/github-script#42
1 parent ec00c75 commit 216b7e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build.yml

+1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ jobs:
104104
run: yarn build
105105

106106
benchmarks:
107+
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository }}
107108
runs-on: ubuntu-latest
108109
strategy:
109110
matrix:

0 commit comments

Comments
 (0)