Skip running nix CI for draft PRs (#2961)
This commit is contained in:
1 parent
c5f00bf7d4
commit
a9f87384f8
1 file changed
+21
-1
@@ -1,10 +1,30 @@
|
|||||||
name: "Nix CI"
|
name: "Nix CI"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Run only when pushing to mainline, and making PRs
|
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
paths:
|
||||||
|
- packages/**
|
||||||
|
- examples/**
|
||||||
|
- docs/guide/**
|
||||||
|
- src/**
|
||||||
|
- .github/**
|
||||||
|
- lib.rs
|
||||||
|
- Cargo.toml
|
||||||
|
- Makefile.toml
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
|
types: [opened, synchronize, reopened, ready_for_review]
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- packages/**
|
||||||
|
- examples/**
|
||||||
|
- src/**
|
||||||
|
- .github/**
|
||||||
|
- lib.rs
|
||||||
|
- Cargo.toml
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|||||||
Reference in new issue
Block a user