From afe4c559d3ba2ad8309d41e3a5a891d6df3e5130 Mon Sep 17 00:00:00 2001 From: swetha1654 Date: Fri, 21 Nov 2025 12:20:01 +0530 Subject: [PATCH 1/2] Run Allure workflow only on schedule --- .github/workflows/integration_test.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration_test.yaml b/.github/workflows/integration_test.yaml index 3c8f152..bf78026 100644 --- a/.github/workflows/integration_test.yaml +++ b/.github/workflows/integration_test.yaml @@ -2,10 +2,13 @@ name: Integration tests on: pull_request: + schedule: + - cron: "0 15 * * SAT" jobs: integration-tests: - uses: canonical/operator-workflows/.github/workflows/integration_test.yaml@main + uses: + canonical/operator-workflows/.github/workflows/integration_test.yaml@main secrets: inherit with: juju-channel: 3.6/stable @@ -17,6 +20,6 @@ jobs: self-hosted-runner-label: "edge" modules: '["test_charm", "test_proxy"]' allure-report: - if: always() && !cancelled() + if: ${{ (success() || failure()) && github.event_name == 'schedule' }} needs: integration-tests uses: canonical/operator-workflows/.github/workflows/allure_report.yaml@main From 074559571cf253a7d06f2acda5f324605b758d20 Mon Sep 17 00:00:00 2001 From: swetha1654 Date: Fri, 21 Nov 2025 13:56:04 +0530 Subject: [PATCH 2/2] Run Allure workflow only on schedule --- .github/workflows/integration_test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration_test.yaml b/.github/workflows/integration_test.yaml index bf78026..cd9c6c8 100644 --- a/.github/workflows/integration_test.yaml +++ b/.github/workflows/integration_test.yaml @@ -20,6 +20,6 @@ jobs: self-hosted-runner-label: "edge" modules: '["test_charm", "test_proxy"]' allure-report: - if: ${{ (success() || failure()) && github.event_name == 'schedule' }} + if: ${{ !cancelled() && github.event_name == 'schedule' }} needs: integration-tests uses: canonical/operator-workflows/.github/workflows/allure_report.yaml@main