From da8dae3e288f559a430212a2d3fadcef484e47ee Mon Sep 17 00:00:00 2001 From: Orlix Date: Mon, 19 Dec 2022 12:45:47 +0200 Subject: [PATCH] Skip CI tests when *.md modifications are made (#17975) * Skip CI tests when *.md modifications are made No need to do full test if internal documentations is changed! Saves resources and makes the PR test much faster! Signed-off-by: OrlinVasilev * Skip CI tests when *.md modifications are made No need to do full test if internal documentations is changed! Saves resources and makes the PR test much faster! Signed-off-by: OrlinVasilev Signed-off-by: OrlinVasilev Co-authored-by: OrlinVasilev --- .github/workflows/CI.yml | 6 +++++- .github/workflows/codeql-analysis.yml | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 62abf7dc3..f9cbe14c5 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -16,9 +16,13 @@ env: on: pull_request: + paths-ignore: + - 'docs/**' + - '**.md' push: paths-ignore: - - 'docs/**' + - 'docs/**' + - '**.md' jobs: UTTEST: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 00d4daeb3..819dff67b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,7 +2,13 @@ name: "Code scanning - action" on: push: + paths-ignore: + - 'docs/**' + - '**.md' pull_request: + paths-ignore: + - 'docs/**' + - '**.md' schedule: - cron: '0 16 * * 6'