From 4e01b4c99d0ac9a4ae15d2deeb0a5e69690f543d Mon Sep 17 00:00:00 2001 From: vishalkarmalkarthoughtworks <96288645+vishalkarmalkarthoughtworks@users.noreply.github.com> Date: Wed, 26 Aug 2026 19:26:24 +0530 Subject: [PATCH] BAH-5026 | Drop the weekly cron from the Semgrep workflow GitHub disables a scheduled workflow in a public repo after 60 days with no repository activity, and the disable applies to the whole workflow, not just the cron trigger. Bahmni/bahmni-api-test-automation and Bahmni/openmrs-module-bedmanagement had already lost Semgrep on every PR this way, and GitHub does not re-enable it when the repo becomes active again. Scanning on pull_request and on push to the default branch is unchanged, and workflow_dispatch stays for an on-demand full scan. --- .github/workflows/semgrep.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index 187ca76..de81807 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -4,8 +4,6 @@ on: pull_request: push: branches: [main, master] - schedule: - - cron: '24 13 * * 1' workflow_dispatch: permissions: