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