Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.

Commit 89aa409

Browse files
authored
Set watched paths for workflows
1 parent f8550d4 commit 89aa409

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.github/workflows/clang-format-check.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
name: clang-format Check
2-
on: [push, pull_request]
2+
on:
3+
push:
4+
paths:
5+
- 'src/**'
6+
- .clang-format
7+
pull_request:
8+
paths:
9+
- 'src/**'
10+
- .clang-format
311

412
jobs:
513
formatting-check:

.github/workflows/xmake.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,16 @@ name: XMake
33
on:
44
push:
55
branches: [ "main" ]
6+
paths:
7+
- 'src/**'
8+
- 'deps/**'
9+
- xmake.lua
610
pull_request:
711
branches: [ "main" ]
12+
paths:
13+
- 'src/**'
14+
- 'deps/**'
15+
- xmake.lua
816

917
jobs:
1018
build:

0 commit comments

Comments
 (0)