From 759d6c854f495e143ac01f1779d6f74b8c1e44b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20V=C3=A1rady?= Date: Wed, 15 May 2024 22:53:21 +0200 Subject: [PATCH] ci: run axosyslog-charts workflows only when affected files changed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: László Várady --- .github/workflows/axosyslog-charts-lint.yml | 6 ++++++ .github/workflows/axosyslog-charts-release.yml | 3 +++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/axosyslog-charts-lint.yml b/.github/workflows/axosyslog-charts-lint.yml index ca271cacee..164042f510 100644 --- a/.github/workflows/axosyslog-charts-lint.yml +++ b/.github/workflows/axosyslog-charts-lint.yml @@ -2,7 +2,13 @@ name: AxoSyslog charts linter on: push: + paths: + - 'charts/**' + - '.github/workflows/**' pull_request: + paths: + - 'charts/**' + - '.github/workflows/**' defaults: run: diff --git a/.github/workflows/axosyslog-charts-release.yml b/.github/workflows/axosyslog-charts-release.yml index 1506a6e732..c56daba7f8 100644 --- a/.github/workflows/axosyslog-charts-release.yml +++ b/.github/workflows/axosyslog-charts-release.yml @@ -2,6 +2,9 @@ name: AxoSyslog charts release on: push: + paths: + - 'charts/**' + - '.github/workflows/**' branches: - main