From 20a4d5a1c9f18e88c1596846dc1d1a23d82a073a Mon Sep 17 00:00:00 2001 From: danishedb Date: Thu, 27 Aug 2026 21:52:41 +0530 Subject: [PATCH 1/2] ci: adding workflow dispatch to charts ci test Signed-off-by: danishedb --- .github/workflows/tests-cluster-chainsaw.yaml | 1 + .github/workflows/tests-operator.yml | 1 + .github/workflows/tests-plugin-barman-cloud.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/tests-cluster-chainsaw.yaml b/.github/workflows/tests-cluster-chainsaw.yaml index 28b7a1c925..ba6c406fd6 100644 --- a/.github/workflows/tests-cluster-chainsaw.yaml +++ b/.github/workflows/tests-cluster-chainsaw.yaml @@ -4,6 +4,7 @@ on: pull_request: branches-ignore: - 'gh-pages' + workflow_dispatch: permissions: read-all diff --git a/.github/workflows/tests-operator.yml b/.github/workflows/tests-operator.yml index 02bbd94558..8e2149b69a 100644 --- a/.github/workflows/tests-operator.yml +++ b/.github/workflows/tests-operator.yml @@ -4,6 +4,7 @@ on: pull_request: branches-ignore: - 'gh-pages' + workflow_dispatch: permissions: read-all diff --git a/.github/workflows/tests-plugin-barman-cloud.yaml b/.github/workflows/tests-plugin-barman-cloud.yaml index 7e90d07fd6..633afcfdd9 100644 --- a/.github/workflows/tests-plugin-barman-cloud.yaml +++ b/.github/workflows/tests-plugin-barman-cloud.yaml @@ -4,6 +4,7 @@ on: pull_request: branches-ignore: - 'gh-pages' + workflow_dispatch: permissions: read-all From abbbaa61f09a97b97d946da526d5db372eb78783 Mon Sep 17 00:00:00 2001 From: danishedb Date: Tue, 1 Sep 2026 21:08:30 +0530 Subject: [PATCH 2/2] ci: updating workflow to run on push when owner is not cloudnativePG Signed-off-by: danishedb # Conflicts: # .github/workflows/tests-cluster-chainsaw.yaml # .github/workflows/tests-operator.yml # .github/workflows/tests-plugin-barman-cloud.yaml # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # Author: danishedb # # interactive rebase in progress; onto 742cbd7 # Last commands done (2 commands done): # pick 0da6ffc # ci: adding workflow dispatch to charts ci test # pick ba9c00f # ci: updating workflow to run on push when owner is not cloudnativePG # No commands remaining. # You are currently rebasing branch 'dev/992' on '742cbd7'. # # Changes to be committed: # modified: .github/workflows/tests-cluster-chainsaw.yaml # modified: .github/workflows/tests-operator.yml # modified: .github/workflows/tests-plugin-barman-cloud.yaml # --- .github/workflows/tests-cluster-chainsaw.yaml | 6 +++++- .github/workflows/tests-operator.yml | 7 ++++++- .github/workflows/tests-plugin-barman-cloud.yaml | 6 +++++- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests-cluster-chainsaw.yaml b/.github/workflows/tests-cluster-chainsaw.yaml index ba6c406fd6..cb9656bf42 100644 --- a/.github/workflows/tests-cluster-chainsaw.yaml +++ b/.github/workflows/tests-cluster-chainsaw.yaml @@ -4,13 +4,17 @@ on: pull_request: branches-ignore: - 'gh-pages' - workflow_dispatch: + push: + branches-ignore: + - 'main' + - 'gh-pages' permissions: read-all jobs: test-list: runs-on: ubuntu-26.04 + if: github.event_name != 'push' || github.repository_owner != 'cloudnative-pg' outputs: tests: ${{ steps.listTests.outputs.tests }} steps: diff --git a/.github/workflows/tests-operator.yml b/.github/workflows/tests-operator.yml index 8e2149b69a..44d230abc7 100644 --- a/.github/workflows/tests-operator.yml +++ b/.github/workflows/tests-operator.yml @@ -4,13 +4,17 @@ on: pull_request: branches-ignore: - 'gh-pages' - workflow_dispatch: + push: + branches-ignore: + - 'main' + - 'gh-pages' permissions: read-all jobs: deploy_operator: name: Deploy the operator in cluster-wide mode + if: github.event_name != 'push' || github.repository_owner != 'cloudnative-pg' runs-on: ubuntu-26.04 steps: - name: Checkout @@ -35,6 +39,7 @@ jobs: deploy_operator_single_namespace: name: Deploy the operator in single-namespace mode + if: github.event_name != 'push' || github.repository_owner != 'cloudnative-pg' runs-on: ubuntu-26.04 steps: - name: Checkout diff --git a/.github/workflows/tests-plugin-barman-cloud.yaml b/.github/workflows/tests-plugin-barman-cloud.yaml index 633afcfdd9..0c06b0ecd5 100644 --- a/.github/workflows/tests-plugin-barman-cloud.yaml +++ b/.github/workflows/tests-plugin-barman-cloud.yaml @@ -4,13 +4,17 @@ on: pull_request: branches-ignore: - 'gh-pages' - workflow_dispatch: + push: + branches-ignore: + - 'main' + - 'gh-pages' permissions: read-all jobs: test-list: runs-on: ubuntu-26.04 + if: github.event_name != 'push' || github.repository_owner != 'cloudnative-pg' outputs: tests: ${{ steps.listTests.outputs.tests }} steps: