Skip to content

Commit

Permalink
Merge pull request #1565 from dwertent/ignore-md-files
Browse files Browse the repository at this point in the history
chore: Ignore markdown files and GitHub workflows in Docker and Go wo…
  • Loading branch information
EnriqueL8 authored Sep 12, 2024
2 parents 56fb54d + f5bd4a4 commit 0ab3df9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/docker_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- main
paths-ignore:
- '.github/**' # exclude .github directory
- '**.md' # exclude all markdown files

jobs:
docker:
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,19 @@ name: Go
on:
push:
branches: [main]
paths:
- '**' # include all files
- '!.github/**' # exclude .github directory
- '!**.md' # exclude all markdown files
- 'doc-site/docs/reference/**.md' # include markdown files that are auto generated and need to be tested

pull_request:
branches: [main]
paths:
- '**' # include all files
- '!.github/**' # exclude .github directory
- '!**.md' # exclude all markdown files
- 'doc-site/docs/reference/**.md' # include markdown files that are auto generated and need to be tested

workflow_dispatch:

jobs:
Expand Down

0 comments on commit 0ab3df9

Please sign in to comment.