Skip to content

Commit e93492b

Browse files
🌱 ci: no longer call github actions for changes which are only made in the docs files (*/*.md) (#4115)
ci: no longer call github actions for changes which are only made in the docs files (*/*.md)
1 parent fa8b88f commit e93492b

File tree

6 files changed

+16
-4
lines changed

6 files changed

+16
-4
lines changed

‎.github/workflows/apidiff.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
name: APIDiff
22

3-
# Trigger the workflow on pull requests and direct pushes to any branch
43
on:
54
push:
5+
paths-ignore:
6+
- '**/*.md'
67
pull_request:
8+
paths-ignore:
9+
- '**/*.md'
710

811
jobs:
912
go-apidiff:

‎.github/workflows/lint.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
name: Lint
22

3-
# Trigger the workflow on pull requests and direct pushes to any branch
43
on:
54
push:
5+
paths-ignore:
6+
- '**/*.md'
67
pull_request:
8+
paths-ignore:
9+
- '**/*.md'
710

811
jobs:
912
lint:

‎.github/workflows/spaces.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: Trailing
22

3-
# Trigger the workflow on pull requests and direct pushes to any branch
43
on:
54
push:
65
paths:

‎.github/workflows/test-devcontainer.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ name: Test DevContainer Image
22

33
on:
44
push:
5+
paths-ignore:
6+
- '**/*.md'
57
pull_request:
8+
paths-ignore:
9+
- '**/*.md'
610

711
jobs:
812
test-devcontainer:

‎.github/workflows/testdata.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: Testdata verification
22

3-
# Trigger the workflow on pull requests and direct pushes to any branch
43
on:
54
push:
65
pull_request:

‎.github/workflows/unit-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ name: Unit tests
33
# Trigger the workflow on pull requests and direct pushes to any branch
44
on:
55
push:
6+
paths-ignore:
7+
- '**/*.md'
68
pull_request:
9+
paths-ignore:
10+
- '**/*.md'
711

812
jobs:
913
test:

0 commit comments

Comments
 (0)