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"
|
||||
|
||||
on:
|
||||
# Run only when pushing to mainline, and making PRs
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- packages/**
|
||||
- examples/**
|
||||
- docs/guide/**
|
||||
- src/**
|
||||
- .github/**
|
||||
- lib.rs
|
||||
- Cargo.toml
|
||||
- Makefile.toml
|
||||
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, ready_for_review]
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- packages/**
|
||||
- examples/**
|
||||
- src/**
|
||||
- .github/**
|
||||
- lib.rs
|
||||
- Cargo.toml
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
Reference in new issue
Block a user