From f706f3a402effabf09abb071f5a50317e03fd7fe Mon Sep 17 00:00:00 2001 From: Daniel Radl Date: Thu, 20 Aug 2026 18:35:44 +0200 Subject: [PATCH] ci(security): consolidate scheduled image scans --- .github/workflows/core-build-develop.yml | 4 ++-- .github/workflows/core-build-stable.yml | 25 +++--------------------- 2 files changed, 5 insertions(+), 24 deletions(-) diff --git a/.github/workflows/core-build-develop.yml b/.github/workflows/core-build-develop.yml index cf6a357..d8903c5 100644 --- a/.github/workflows/core-build-develop.yml +++ b/.github/workflows/core-build-develop.yml @@ -23,8 +23,8 @@ on: - .github/workflows/core-publish-images.yml schedule: - # Every day at 00:00 UTC - - cron: 0 0 * * * + # Every Monday at 03:17 UTC + - cron: "17 3 * * 1" workflow_dispatch: diff --git a/.github/workflows/core-build-stable.yml b/.github/workflows/core-build-stable.yml index a1bf344..675c480 100644 --- a/.github/workflows/core-build-stable.yml +++ b/.github/workflows/core-build-stable.yml @@ -36,10 +36,6 @@ on: - .github/workflows/core-build-test-images.yml - .github/workflows/core-publish-images.yml - schedule: - # Every Monday at 03:17 UTC - - cron: "17 3 * * 1" - # Triggered from frappe/frappe and frappe/erpnext on releases repository_dispatch: @@ -55,12 +51,7 @@ jobs: node_version: "22" v15_publish: - if: >- - ${{ - github.repository == 'frappe/frappe_docker' && - github.event_name != 'pull_request' && - github.event_name != 'schedule' - }} + if: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }} needs: v15_test uses: ./.github/workflows/core-publish-images.yml with: @@ -81,12 +72,7 @@ jobs: python_version: "3.14" node_version: "24" v16_publish: - if: >- - ${{ - github.repository == 'frappe/frappe_docker' && - github.event_name != 'pull_request' && - github.event_name != 'schedule' - }} + if: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }} needs: v16_test uses: ./.github/workflows/core-publish-images.yml with: @@ -102,12 +88,7 @@ jobs: update_versions: name: Update example.env and pwd.yml runs-on: ubuntu-latest - if: >- - ${{ - github.repository == 'frappe/frappe_docker' && - github.event_name != 'pull_request' && - github.event_name != 'schedule' - }} + if: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }} needs: v16_publish permissions: contents: write