Skip to content

Commit 61c066f

Browse files
authored
Update build.yml
1 parent fa1a43c commit 61c066f

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: Build
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
pull_request:
6+
# Branches from forks have the form 'user:branch-name' so we only run
7+
# this job on pull_request events for branches that look like fork
8+
# branches. Without this we would end up running this job twice for non
9+
# forked PRs, once for the push and then once for opening the PR.
10+
branches:
11+
- '**:**'
412

513
jobs:
614
build:

0 commit comments

Comments
 (0)