ci: avoid duplicate builds for PR commits
This commit is contained in:
parent
9f8aeaadbf
commit
7d48d32c7b
1 changed files with 2 additions and 5 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
@ -1,9 +1,8 @@
|
||||||
name: "CI"
|
name: "CI"
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches-ignore:
|
branches:
|
||||||
- "production"
|
- "master"
|
||||||
- "docs"
|
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- ".github/**"
|
- ".github/**"
|
||||||
- "!.github/workflows/ci.yml"
|
- "!.github/workflows/ci.yml"
|
||||||
|
@ -12,8 +11,6 @@ on:
|
||||||
- "README.md"
|
- "README.md"
|
||||||
- "LICENSE"
|
- "LICENSE"
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
|
||||||
- "**"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
Loading…
Reference in a new issue