Skip running nix CI for draft PRs (#2961)

This commit is contained in:
Matt Hunzinger authored and GitHub committed 2024-09-14 11:27:41 -05:00
1 parent c5f00bf7d4
commit a9f87384f8
1 file changed
+21 -1
+21 -1
View File
@@ -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 }}