Skip to content

Commit ad383d6

Browse files
committed
Update GitHub Actions workflows to run on PRs to all branches
1 parent 2fef599 commit ad383d6

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

.github/workflows/swift-linux.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ name: Build Linux
22

33
on:
44
push:
5+
branches-ignore:
6+
- 'gh-pages'
57
pull_request:
6-
branches: [ main ]
8+
branches-ignore:
9+
- 'gh-pages'
710

811
jobs:
912
build-linux:

.github/workflows/swift-macos.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ name: Build macOS
22

33
on:
44
push:
5+
branches-ignore:
6+
- 'gh-pages'
57
pull_request:
6-
branches: [ main ]
8+
branches-ignore:
9+
- 'gh-pages'
710

811
jobs:
912
build-mac:

.github/workflows/swift-windows.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ name: Build Windows
22

33
on:
44
push:
5+
branches-ignore:
6+
- 'gh-pages'
57
pull_request:
6-
branches: [ main ]
8+
branches-ignore:
9+
- 'gh-pages'
710

811
jobs:
912
build-windows:

.github/workflows/swiftlint.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches-ignore:
66
- 'gh-pages'
7-
87
pull_request:
98
branches-ignore:
109
- 'gh-pages'

0 commit comments

Comments
 (0)