Skip to content

Commit 240518c

Browse files
committed
Update trigger conditions
1 parent cf4ff08 commit 240518c

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.github/workflows/format-check.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@ name: Format check
33
on:
44
push:
55
branches:
6-
- '*'
6+
- main
7+
paths:
8+
- .clang-format
9+
- include/**
10+
- src/**
11+
pull_request:
12+
branches:
13+
- main
714
paths:
815
- .clang-format
916
- include/**

.github/workflows/linux-build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,18 @@ name: Linux build
33
on:
44
push:
55
branches:
6-
- '*'
6+
- main
7+
paths:
8+
- Makefile
9+
- include/**
10+
- src/**
11+
pull_request:
12+
branches:
13+
- main
714
paths:
815
- Makefile
916
- include/**
1017
- src/**
11-
1218

1319
jobs:
1420
linux-build:

0 commit comments

Comments
 (0)