This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ozone-helm-charts.git
The following commit(s) were added to refs/heads/main by this push:
new d04b0c0 HDDS-17088. Skip build for irrelevant files (#74)
d04b0c0 is described below
commit d04b0c0010b0e6a90075287f138c5d872bd0e4f1
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Sat Nov 7 18:09:32 2026 +0100
HDDS-17088. Skip build for irrelevant files (#74)
Co-authored-by: Chi-Hsuan Huang <[email protected]>
---
.github/workflows/asf-allowlist-check.yaml | 2 --
.github/workflows/release.yaml | 9 +++++++++
.github/workflows/test.yaml | 26 ++++++++++++++++++++++++--
.github/workflows/zizmor.yml | 2 --
4 files changed, 33 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/asf-allowlist-check.yaml
b/.github/workflows/asf-allowlist-check.yaml
index 75804f3..a3246f8 100644
--- a/.github/workflows/asf-allowlist-check.yaml
+++ b/.github/workflows/asf-allowlist-check.yaml
@@ -23,8 +23,6 @@ on:
push:
branches-ignore:
- 'dependabot/**'
- tags:
- - '**'
paths:
- ".github/workflows/**"
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index f66bbba..5ac847d 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -19,6 +19,15 @@ on:
push:
branches:
- main
+ paths-ignore:
+ # ignore files/dirs irrelevant for CI
+ - '.asf.yaml'
+ - '.gitignore'
+ - '**.md'
+ - '**.txt'
+ # ignore .github except this workflow and the ones used transitively
+ - '.github/**'
+ - '!.github/workflows/release.yaml'
jobs:
release:
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 2213bde..bcba828 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -18,7 +18,29 @@ name: Test Charts
on:
pull_request:
types: [opened, synchronize]
+ paths-ignore:
+ # ignore files/dirs irrelevant for CI
+ - '.asf.yaml'
+ - '.gitignore'
+ - '**.md'
+ - '**.txt'
+ - '!charts/**/templates/**'
+ # ignore .github except this workflow and the ones used transitively
+ - '.github/**'
+ - '!.github/workflows/test.yaml'
push:
+ branches-ignore:
+ - 'dependabot/**'
+ paths-ignore:
+ # ignore files/dirs irrelevant for CI
+ - '.asf.yaml'
+ - '.gitignore'
+ - '**.md'
+ - '**.txt'
+ - '!charts/**/templates/**'
+ # ignore .github except this workflow and the ones used transitively
+ - '.github/**'
+ - '!.github/workflows/test.yaml'
permissions: { }
@@ -51,8 +73,8 @@ jobs:
env:
base_ref: ${{ github.base_ref }}
- - name: Find changes (push)
- if: github.event_name != 'pull_request'
+ - name: Trigger all tests (push or dependabot)
+ if: github.event_name != 'pull_request' || startsWith(github.ref_name,
'dependabot')
run: |
echo "test_scope=--all" >> "$GITHUB_ENV"
diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml
index 7ce87e7..9c60ef5 100644
--- a/.github/workflows/zizmor.yml
+++ b/.github/workflows/zizmor.yml
@@ -19,8 +19,6 @@ on:
push:
branches-ignore:
- 'dependabot/**'
- tags:
- - '**'
paths:
- '.github/workflows/**'
- '.github/zizmor.y*ml'
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]