From a75506bb131ec6c119d105558f92280d7ae89bdc Mon Sep 17 00:00:00 2001 From: Tiger Kaovilai Date: Wed, 6 Nov 2024 15:18:25 -0500 Subject: [PATCH] Skip e2e, crd, go linters on .md checks. Signed-off-by: Tiger Kaovilai --- .github/workflows/crds-verify-kind.yaml | 2 +- .github/workflows/e2e-test-kind.yaml | 1 + .github/workflows/pr-linter-check.yml | 9 +++++++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/crds-verify-kind.yaml b/.github/workflows/crds-verify-kind.yaml index 3d51599e85..3ffef79c10 100644 --- a/.github/workflows/crds-verify-kind.yaml +++ b/.github/workflows/crds-verify-kind.yaml @@ -5,7 +5,7 @@ on: paths-ignore: - "site/**" - "design/**" - + - "**/*.md" jobs: # Build the Velero CLI once for all Kubernetes versions, and cache it so the fan-out workers can get it. build-cli: diff --git a/.github/workflows/e2e-test-kind.yaml b/.github/workflows/e2e-test-kind.yaml index 538ddbddc0..608cdc50e8 100644 --- a/.github/workflows/e2e-test-kind.yaml +++ b/.github/workflows/e2e-test-kind.yaml @@ -6,6 +6,7 @@ on: paths-ignore: - "site/**" - "design/**" + - "**/*.md" jobs: # Build the Velero CLI and image once for all Kubernetes versions, and cache it so the fan-out workers can get it. build: diff --git a/.github/workflows/pr-linter-check.yml b/.github/workflows/pr-linter-check.yml index 429b7b169e..6578417a61 100644 --- a/.github/workflows/pr-linter-check.yml +++ b/.github/workflows/pr-linter-check.yml @@ -1,7 +1,12 @@ name: Pull Request Linter Check -on: [pull_request] +on: + pull_request: + # Do not run when the change only includes these directories. + paths-ignore: + - "site/**" + - "design/**" + - "**/*.md" jobs: - build: name: Run Linter Check runs-on: ubuntu-latest