1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: minimise work on commits/PRs, that affect only .yml files

This commit is contained in:
Delyan Angelov 2022-08-26 21:07:29 +03:00
parent 511cc2b267
commit a1e87664f4
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
6 changed files with 30 additions and 4 deletions

View File

@ -4,12 +4,14 @@ on:
push:
paths-ignore:
- "**.md"
- "**.yml"
- "doc/**"
- "examples/**"
- "tutorials/**"
pull_request:
paths-ignore:
- "**.md"
- "**.yml"
- "doc/**"
- "examples/**"
- "tutorials/**"

View File

@ -4,9 +4,11 @@ on:
push:
paths-ignore:
- "**.md"
- "**.yml"
pull_request:
paths-ignore:
- "**.md"
- "**.yml"
concurrency:
group: build-ci-${{ github.event.pull_request.number || github.sha }}

View File

@ -39,6 +39,9 @@ on:
- 'vlib/v/markused/**.v'
- 'vlib/v/preludes/**.v'
- 'vlib/v/embed_file/**.v'
paths-ignore:
- "**.md"
- "**.yml"
pull_request:
paths:
- '!**'
@ -66,6 +69,9 @@ on:
- 'vlib/v/markused/**.v'
- 'vlib/v/preludes/**.v'
- 'vlib/v/embed_file/**.v'
paths-ignore:
- "**.md"
- "**.yml"
concurrency:
group: build-sanitized-${{ github.event.pull_request.number || github.sha }}

View File

@ -4,9 +4,11 @@ on:
push:
paths-ignore:
- "**.md"
- "**.yml"
pull_request:
paths-ignore:
- "**.md"
- "**.yml"
concurrency:
group: build-containers-${{ github.event.pull_request.number || github.sha }}

View File

@ -1,8 +1,16 @@
name: Docs CI
### Run on *EVERY* commit. The documentation *SHOULD* stay valid, and
### the developers should receive early warning if they break it.
on: [push, pull_request]
### Run on *EVERY* .v or .md related commit.
### The documentation *SHOULD* stay valid, and the developers should receive
### early warning, if they break it.
on:
push:
paths-ignore:
- "**.yml"
pull_request:
paths-ignore:
- "**.yml"
jobs:
check-markdown:

View File

@ -4,9 +4,15 @@ on:
push:
paths-ignore:
- "**.md"
- "**.yml"
pull_request:
paths-ignore:
- "**.md"
- "**.yml"
concurrency:
group: sdl-ci-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
v-compiles-sdl-examples: