Skip to content

Commit aa814cd

Browse files
committed
chore: add ignore path
1 parent 2e0d2c5 commit aa814cd

File tree

4 files changed

+42
-8
lines changed

4 files changed

+42
-8
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@ name: Build
22
on:
33
push:
44
tags:
5-
- 'v[0-9]+.[0-9]+.[0-9]+'
5+
- 'v[0-9]+.[0-9]+.[0-9]+-ubuntu'
6+
paths-ignore:
7+
- 'doc/**'
8+
- 'example/**'
9+
- '.github/**'
10+
- '.vscode/**'
11+
- '*.md'
612

713
jobs:
814
build:
Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
name: clang-format Check
2-
on: [push, pull_request]
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'doc/**'
7+
- 'example/**'
8+
- '.github/**'
9+
- '.vscode/**'
10+
- '*.md'
11+
pull_request:
12+
paths-ignore:
13+
- 'doc/**'
14+
- 'example/**'
15+
- '.github/**'
16+
- '.vscode/**'
17+
- '*.md'
18+
319
jobs:
420
formatting-check:
521
name: Formatting Check
@@ -10,9 +26,9 @@ jobs:
1026
- 'src'
1127
- 'test'
1228
steps:
13-
- uses: actions/checkout@v4
14-
- name: Run clang-format style check for C/C++/Protobuf programs.
15-
uses: jidicula/[email protected]
16-
with:
17-
clang-format-version: '14'
18-
check-path: ${{ matrix.path }}
29+
- uses: actions/checkout@v4
30+
- name: Run clang-format style check for C/C++/Protobuf programs.
31+
uses: jidicula/[email protected]
32+
with:
33+
clang-format-version: '14'
34+
check-path: ${{ matrix.path }}

.github/workflows/docker_build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ on:
44
push:
55
tags:
66
- 'v[0-9]+.[0-9]+.[0-9]+'
7+
paths-ignore:
8+
- 'doc/**'
9+
- 'example/**'
10+
- '.github/**'
11+
- '.vscode/**'
12+
- '*.md'
713

814
jobs:
915
prepare-env:

.github/workflows/qemu_build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ on:
44
push:
55
tags:
66
- 'v**-rc.[0-9]+'
7+
paths-ignore:
8+
- 'doc/**'
9+
- 'example/**'
10+
- '.github/**'
11+
- '.vscode/**'
12+
- '*.md'
713

814
jobs:
915
prepare-image:

0 commit comments

Comments
 (0)