You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,10 @@ on:
12
12
- development
13
13
tags:
14
14
- 'v[0-9]+.[0-9]+.[0-9]+*'
15
+
paths-ignore:
16
+
- '**/*.md' # Ignore markdown files
17
+
- '**/LICENSE'
18
+
- 'scripts/**'
15
19
pull_request:
16
20
branches:
17
21
- main
@@ -20,9 +24,11 @@ on:
20
24
- 'sdk-release/**'
21
25
- 'feature/**'
22
26
- development
27
+
23
28
24
29
jobs:
25
30
build:
31
+
if: "!startsWith(github.event.head_commit.message, 'style:') && !startsWith(github.event.head_commit.message, 'docs:')" #do not run workflow on style or documentation changes
26
32
name: Build
27
33
runs-on: ubuntu-latest
28
34
@@ -63,6 +69,7 @@ jobs:
63
69
path: target/
64
70
65
71
test:
72
+
if: "!startsWith(github.event.head_commit.message, 'style:') && !startsWith(github.event.head_commit.message, 'docs:')" #do not run workflow on style or documentation changes
66
73
name: Test
67
74
runs-on: ubuntu-latest
68
75
needs: build # Ensure build job runs before this one
0 commit comments