Skip running nix CI for draft PRs (#2961)

This commit is contained in:
Matt Hunzinger 2024-09-14 12:27:41 -04:00 committed by GitHub
parent c5f00bf7d4
commit a9f87384f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 }}