From 1776b18fa08ef6f0d3a3f34c142ea8570cf21430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Thu, 6 Jul 2023 21:35:14 +0200 Subject: [PATCH] gha: Do not run all the tests if only docs are updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We should not go through the trouble of running all our tests on AKS / Azure / baremetal machines in case a PR only changes our documentation. Fixes: #7258 Signed-off-by: Fabiano FidĂȘncio --- .github/workflows/ci-on-push.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci-on-push.yaml b/.github/workflows/ci-on-push.yaml index 76c4dc38db..6d4cc7fc05 100644 --- a/.github/workflows/ci-on-push.yaml +++ b/.github/workflows/ci-on-push.yaml @@ -12,6 +12,8 @@ on: - synchronize - reopened - labeled + paths-ignore: + - 'docs/**' jobs: kata-containers-ci-on-push: if: ${{ contains(github.event.pull_request.labels.*.name, 'ok-to-test') }}