Skip to content

Commit 898acb9

Browse files
authored
Merge pull request #2688 from proddy/dev
dont run if no C++ src files changed
2 parents c71526b + a074ac7 commit 898acb9

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

.github/workflows/pr_check.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,8 @@ on:
77
pull_request:
88
branches: dev
99
paths:
10-
- '**.c'
11-
- '**.cpp'
12-
- '**.h'
13-
- '**.hpp'
14-
- '**.json'
15-
- '**.py'
16-
- '**.md'
17-
- '.github/workflows/pr_check.yml'
18-
10+
- 'src/**'
11+
1912
jobs:
2013
pre-release:
2114
name: 'Automatic pre-release build'

.github/workflows/sonar_check.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# see https://github.com/marketplace/actions/sonarcloud-scan-for-c-and-c#usage
22
name: Sonar Check
3-
3+
permissions:
4+
contents: read
5+
46
on:
57
push:
68
branches:
79
- dev
8-
# pull_request:
9-
# types: [opened, synchronize, reopened]
10+
paths:
11+
- 'src/**'
1012

1113
jobs:
1214
build:

0 commit comments

Comments
 (0)