From 32ff0cd76777d276de1bd94ab65c3c363b40dddb Mon Sep 17 00:00:00 2001 From: shimoncohen Date: Sun, 1 Nov 2026 11:45:37 +0200 Subject: [PATCH 1/2] ci: run action tests when their own workflow file changes Each test workflow's paths filter covered only its action folder, so edits to the test workflow itself (e.g. #116 changing test-validate-domain.yaml) skipped the test. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/test-auto-merge.yaml | 1 + .github/workflows/test-helm-lint.yml | 1 + .github/workflows/test-init-npm.yaml | 1 + .github/workflows/test-smart-release-please.yaml | 1 + .github/workflows/test-update-artifacts-file.yml | 1 + .github/workflows/test-validate-domain.yaml | 1 + 6 files changed, 6 insertions(+) diff --git a/.github/workflows/test-auto-merge.yaml b/.github/workflows/test-auto-merge.yaml index 52337550..af1f9fd6 100644 --- a/.github/workflows/test-auto-merge.yaml +++ b/.github/workflows/test-auto-merge.yaml @@ -4,6 +4,7 @@ on: pull_request: paths: - "actions/auto-merge/**" + - ".github/workflows/test-auto-merge.yaml" jobs: test-action: diff --git a/.github/workflows/test-helm-lint.yml b/.github/workflows/test-helm-lint.yml index 866f11c5..b1bc8937 100644 --- a/.github/workflows/test-helm-lint.yml +++ b/.github/workflows/test-helm-lint.yml @@ -5,6 +5,7 @@ on: paths: - "actions/helm-lint/**" - "test/helm/**" + - ".github/workflows/test-helm-lint.yml" permissions: contents: write diff --git a/.github/workflows/test-init-npm.yaml b/.github/workflows/test-init-npm.yaml index ed5dc248..9fb3c1f0 100644 --- a/.github/workflows/test-init-npm.yaml +++ b/.github/workflows/test-init-npm.yaml @@ -4,6 +4,7 @@ on: pull_request: paths: - "actions/init-npm/**" + - ".github/workflows/test-init-npm.yaml" jobs: test-init-npm: diff --git a/.github/workflows/test-smart-release-please.yaml b/.github/workflows/test-smart-release-please.yaml index 38bb0618..05ecbef9 100644 --- a/.github/workflows/test-smart-release-please.yaml +++ b/.github/workflows/test-smart-release-please.yaml @@ -4,6 +4,7 @@ on: pull_request: paths: - 'actions/smart-release-please/**' + - '.github/workflows/test-smart-release-please.yaml' jobs: test-action: diff --git a/.github/workflows/test-update-artifacts-file.yml b/.github/workflows/test-update-artifacts-file.yml index 371259e3..b67791fb 100644 --- a/.github/workflows/test-update-artifacts-file.yml +++ b/.github/workflows/test-update-artifacts-file.yml @@ -4,6 +4,7 @@ on: pull_request: paths: - "actions/update-artifacts-file/**" + - ".github/workflows/test-update-artifacts-file.yml" jobs: update-artifacts-json: diff --git a/.github/workflows/test-validate-domain.yaml b/.github/workflows/test-validate-domain.yaml index 9a9d2a85..bb4c11af 100644 --- a/.github/workflows/test-validate-domain.yaml +++ b/.github/workflows/test-validate-domain.yaml @@ -5,6 +5,7 @@ on: paths: - "actions/validate-domain/**" - "test/validate-domain/**" + - ".github/workflows/test-validate-domain.yaml" jobs: validate-domain: From 2e375baf87d712b64ce78f57790d73e2a5aa211c Mon Sep 17 00:00:00 2001 From: shimoncohen Date: Mon, 2 Nov 2026 20:01:11 +0200 Subject: [PATCH 2/2] ci: run action tests when their test fixtures change init-npm, smart-release-please and validate-domain tests read fixtures under test/ that their paths filters did not cover, so a fixture-only change skipped the test. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/test-init-npm.yaml | 3 +++ .github/workflows/test-smart-release-please.yaml | 1 + .github/workflows/test-validate-domain.yaml | 1 + 3 files changed, 5 insertions(+) diff --git a/.github/workflows/test-init-npm.yaml b/.github/workflows/test-init-npm.yaml index 9fb3c1f0..15f960db 100644 --- a/.github/workflows/test-init-npm.yaml +++ b/.github/workflows/test-init-npm.yaml @@ -4,6 +4,9 @@ on: pull_request: paths: - "actions/init-npm/**" + - "test/package*.json" + - "test/*.ts" + - "test/tsconfig.json" - ".github/workflows/test-init-npm.yaml" jobs: diff --git a/.github/workflows/test-smart-release-please.yaml b/.github/workflows/test-smart-release-please.yaml index 05ecbef9..0f5824b9 100644 --- a/.github/workflows/test-smart-release-please.yaml +++ b/.github/workflows/test-smart-release-please.yaml @@ -4,6 +4,7 @@ on: pull_request: paths: - 'actions/smart-release-please/**' + - 'test/test_rc_align.py' - '.github/workflows/test-smart-release-please.yaml' jobs: diff --git a/.github/workflows/test-validate-domain.yaml b/.github/workflows/test-validate-domain.yaml index bb4c11af..8c94a459 100644 --- a/.github/workflows/test-validate-domain.yaml +++ b/.github/workflows/test-validate-domain.yaml @@ -5,6 +5,7 @@ on: paths: - "actions/validate-domain/**" - "test/validate-domain/**" + - "test/helm/Chart.yaml" - ".github/workflows/test-validate-domain.yaml" jobs: