ci: make workflows only run on PRs

This commit is contained in:
Jonathan Kelley committed 2022-02-17 11:19:28 -05:00
1 parent a4df07f338
commit f4686150d7
3 files changed
+12 -15

No files matched your search

+4 -5
View File
@@ -1,7 +1,10 @@
name: macOS tests
on:
push:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- master
paths:
- packages/**
- examples/**
@@ -9,10 +12,6 @@ on:
- .github/**
- lib.rs
- Cargo.toml
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- master
jobs:
test:
+4 -5
View File
@@ -1,7 +1,10 @@
name: Rust CI
on:
push:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- master
paths:
- packages/**
- examples/**
@@ -9,10 +12,6 @@ on:
- .github/**
- lib.rs
- Cargo.toml
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- master
jobs:
check:
+4 -5
View File
@@ -1,7 +1,10 @@
name: windows
on:
push:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- master
paths:
- packages/**
- examples/**
@@ -9,10 +12,6 @@ on:
- .github/**
- lib.rs
- Cargo.toml
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- master
jobs:
test: