diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 650c9df757..f949850ae1 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -2,7 +2,25 @@ # we test this on each commit/PR to catch build problems early name: Build and test HolmesGPT -on: [push, pull_request, workflow_dispatch] +on: + push: + paths-ignore: + - '*.md' + - '**/*.md' + - 'docs/**' + - '.gitignore' + - 'mkdocs.yml' + - 'LICENSE.txt' + pull_request: + types: [opened, synchronize, reopened, ready_for_review] + paths-ignore: + - '*.md' + - '**/*.md' + - 'docs/**' + - '.gitignore' + - 'mkdocs.yml' + - 'LICENSE.txt' + workflow_dispatch: {} jobs: check: diff --git a/.github/workflows/llm-evaluation.yaml b/.github/workflows/llm-evaluation.yaml index 49fe1f322c..fe9bf44ac9 100644 --- a/.github/workflows/llm-evaluation.yaml +++ b/.github/workflows/llm-evaluation.yaml @@ -3,8 +3,23 @@ name: Evaluate LLM test cases on: pull_request: branches: ["*"] + types: [opened, synchronize, reopened, ready_for_review] + paths-ignore: + - '*.md' + - '**/*.md' + - 'docs/**' + - '.gitignore' + - 'mkdocs.yml' + - 'LICENSE.txt' push: branches: [master] + paths-ignore: + - '*.md' + - '**/*.md' + - 'docs/**' + - '.gitignore' + - 'mkdocs.yml' + - 'LICENSE.txt' permissions: pull-requests: write