Skip to content

Commit 8397dd0

Browse files
committed
Restrict CI runs to pushes/PR to 'master' and pushes to 'ci-*'
1 parent 0cdb6fa commit 8397dd0

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

.github/workflows/test-linux.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
name: CI (Linux)
44

5-
on: [push, pull_request]
5+
on:
6+
push:
7+
branches: [master, ci-*]
8+
pull_request:
9+
branches: [master]
610

711
jobs:
812
build:

.github/workflows/test-mac.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
name: CI (macOS)
44

5-
on: [push, pull_request]
5+
on:
6+
push:
7+
branches: [master, ci-*]
8+
pull_request:
9+
branches: [master]
610

711
jobs:
812
build:

.github/workflows/test-windows.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
name: CI (Windows)
44

5-
on: [push, pull_request]
5+
on:
6+
push:
7+
branches: [master, ci-*]
8+
pull_request:
9+
branches: [master]
610

711
jobs:
812
build:

0 commit comments

Comments
 (0)