mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-22 20:23:09 +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"
|
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 }}
|
||||||
|
|
Loading…
Reference in a new issue