Skip to content

Commit f5bd4a4

Browse files
committed
chore: Ignore markdown files and GitHub workflows in Docker and Go workflows
Signed-off-by: dwertent <[email protected]>
1 parent a983877 commit f5bd4a4

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/docker_main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
branches:
66
- main
7+
paths-ignore:
8+
- '.github/**' # exclude .github directory
9+
- '**.md' # exclude all markdown files
710

811
jobs:
912
docker:

.github/workflows/go.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,19 @@ name: Go
33
on:
44
push:
55
branches: [main]
6+
paths:
7+
- '**' # include all files
8+
- '!.github/**' # exclude .github directory
9+
- '!**.md' # exclude all markdown files
10+
- 'doc-site/docs/reference/**.md' # include markdown files that are auto generated and need to be tested
11+
612
pull_request:
7-
branches: [main]
13+
paths:
14+
- '**' # include all files
15+
- '!.github/**' # exclude .github directory
16+
- '!**.md' # exclude all markdown files
17+
- 'doc-site/docs/reference/**.md' # include markdown files that are auto generated and need to be tested
18+
819
workflow_dispatch:
920

1021
jobs:

0 commit comments

Comments
 (0)