ci: skip non-doc workflows for docs-only changes

This commit is contained in:
moluopro
2026-07-04 01:20:37 +08:00
parent 1a2386b437
commit e097d0b32c
11 changed files with 72 additions and 9 deletions
+7 -1
View File
@@ -1,6 +1,12 @@
name: apple m
on: [push, pull_request]
on:
push:
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
+4
View File
@@ -5,10 +5,14 @@ on:
branches:
- develop
- release-**
paths-ignore:
- 'docs/**'
pull_request:
branches:
- develop
- release-**
paths-ignore:
- 'docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
+7 -1
View File
@@ -1,6 +1,12 @@
name: c910v qemu test
on: [push, pull_request]
on:
push:
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
+7 -1
View File
@@ -1,6 +1,12 @@
name: Run codspeed benchmarks
on: [push, pull_request]
on:
push:
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
+8 -1
View File
@@ -1,6 +1,13 @@
name: continuous build
on: [push, pull_request, workflow_dispatch]
on:
push:
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
+7 -1
View File
@@ -1,6 +1,12 @@
name: harmonyos
on: [push, pull_request]
on:
push:
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
+7 -1
View File
@@ -1,6 +1,12 @@
name: loongarch64 qemu test
on: [push, pull_request]
on:
push:
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
+7 -1
View File
@@ -1,6 +1,12 @@
name: loongarch64 clang qemu test
on: [push, pull_request]
on:
push:
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
+7 -1
View File
@@ -1,6 +1,12 @@
name: mips64 qemu test
on: [push, pull_request]
on:
push:
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
+7 -1
View File
@@ -1,6 +1,12 @@
name: riscv64 zvl256b qemu test
on: [push, pull_request]
on:
push:
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
+4
View File
@@ -4,9 +4,13 @@ on:
push:
branches:
- develop
paths-ignore:
- 'docs/**'
pull_request:
branches:
- develop
paths-ignore:
- 'docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}