Skip to content

Commit 6564123

Browse files
committed
Add GHA on PR from forks [ci fast]
1 parent b9c3796 commit 6564123

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,13 @@ on:
88
- '!refs/tags/.*'
99
tags-ignore:
1010
- '*'
11+
pull_request:
12+
branches:
13+
- '*'
1114
jobs:
1215
build:
1316
name: Build Nextflow
14-
if: "!contains(github.event.head_commit.message, '[ci skip]')"
17+
if: "!contains(github.event.head_commit.message, '[ci skip]') && (github.event == 'push' || github.repository != github.event.pull_request.head.repo.full_name')"
1518
runs-on: ubuntu-latest
1619
timeout-minutes: 120
1720
strategy:

0 commit comments

Comments
 (0)