Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore: Ignore markdown files and GitHub workflows in Docker and Go wo… #1565

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see a reason to limit the tests to only run when a PR is opened against the main branch. Removing this restriction will enable the development of feature branches and opening PRs against them.

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
Loading