From 5aa51e250ea6492516656bb2cad0ed1e9769047a Mon Sep 17 00:00:00 2001 From: Danilo Pantani Date: Wed, 16 Nov 2022 23:14:40 +0100 Subject: [PATCH] feat(CI): skip run the go CI test for markdown/docs files (#1907) * skip run the test CI for markdown files * remove skip from the codeql ci * only ignore md files for codeql --- .github/workflows/codeql-analysis.yml | 2 ++ .github/workflows/test.yml | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index f1ff0db592f37..c202db9dc96df 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -17,6 +17,8 @@ on: pull_request: # The branches below must be a subset of the branches above branches: [ main ] + paths-ignore: + - "**/*.md" schedule: - cron: '0 * * * *' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bb53fbe193909..ad3e9a5070837 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,9 +3,15 @@ name: Test on: workflow_call: pull_request: + paths-ignore: + - "**/*.md" + - "docs/**" push: branches: - main + paths-ignore: + - "**/*.md" + - "docs/**" jobs: cleanup-runs: