mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-22 04:03:04 +00:00
Skip running nix CI for draft PRs (#2961)
This commit is contained in:
parent
c5f00bf7d4
commit
a9f87384f8
1 changed files with 21 additions and 1 deletions
22
.github/workflows/nix.yml
vendored
22
.github/workflows/nix.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue