Skip to content

Commit 81e48f8

Browse files
committed
docs:update GitHub Actions with not running when modifying .md files.
Signed-off-by: Haotian Zhang <[email protected]>
1 parent 8044f5d commit 81e48f8

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

.github/workflows/license-checker.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@ on:
55
branches:
66
- main
77
- release/*
8+
paths-ignore:
9+
- '**.md'
810
pull_request:
911
branches:
1012
- main
1113
- release/*
14+
paths-ignore:
15+
- '**.md'
1216
jobs:
1317
check-license:
1418
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
# 相当于脚本用途的一个声明
21
name: Release
3-
# 触发脚本的事件 这里为发布release之后触发
2+
43
on:
54
release:
65
types: [published]

.github/workflows/snapshot.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
# 相当于脚本用途的一个声明
21
name: Snapshot
3-
# 触发脚本的事件 这里为发布release之后触发
2+
43
on:
54
push:
65
branches:
76
- main
87
- release/*
8+
paths-ignore:
9+
- '**.md'
910

1011
jobs:
1112
check-snapshot:

.github/workflows/testing.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1-
# This workflow will build a Java project with Maven
2-
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3-
41
name: Testing
2+
53
on:
64
push:
75
branches:
86
- main
97
- release/*
8+
paths-ignore:
9+
- '**.md'
1010
pull_request:
1111
branches:
1212
- main
1313
- release/*
14+
paths-ignore:
15+
- '**.md'
1416

1517
jobs:
1618
build:

0 commit comments

Comments
 (0)