From e61023d2e0b4f56db742c7188bab5c4885dfa861 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Fri, 1 May 2026 22:50:27 +0000 Subject: [PATCH] ci: disable automatic workflow triggers, add workflow_dispatch --- .github/workflows/cache-clean.yml | 4 +--- .github/workflows/changesets.yml | 4 +--- .github/workflows/cleanup-report.yml | 3 +-- .github/workflows/cron-bookingReminder.yml | 4 +--- .github/workflows/cron-changeTimeZone.yml | 4 +--- .github/workflows/cron-checkSmsPrices.yml | 4 +--- .github/workflows/cron-downgradeUsers.yml | 3 --- .github/workflows/cron-monthlyDigestEmail.yml | 4 +--- .github/workflows/cron-scheduleEmailReminders.yml | 4 +--- .github/workflows/cron-scheduleSMSReminders.yml | 4 +--- .github/workflows/cron-scheduleWhatsappReminders.yml | 4 +--- .github/workflows/cron-stale-issue.yml | 3 --- .github/workflows/cron-syncAppMeta.yml | 3 --- .github/workflows/cron-webhooks-triggers.yml | 4 +--- .github/workflows/delete-blacksmith-cache.yml | 2 -- .github/workflows/i18n.yml | 4 +--- .github/workflows/labeler.yml | 1 - .github/workflows/nextjs-bundle-analysis.yml | 3 --- .github/workflows/post-release.yml | 4 ---- .github/workflows/pr.yml | 5 ----- .github/workflows/release-docker.yaml | 4 ---- .github/workflows/run-ci.yml | 3 +-- .github/workflows/semantic-pull-requests.yml | 7 +------ 23 files changed, 14 insertions(+), 71 deletions(-) diff --git a/.github/workflows/cache-clean.yml b/.github/workflows/cache-clean.yml index 121c5b935ea6d9..67d3bd60710ee9 100644 --- a/.github/workflows/cache-clean.yml +++ b/.github/workflows/cache-clean.yml @@ -1,8 +1,6 @@ name: cleanup caches by a branch on: - pull_request: - types: - - closed + workflow_dispatch: jobs: cleanup: diff --git a/.github/workflows/changesets.yml b/.github/workflows/changesets.yml index 685646b1542b86..c71265ecf0a274 100644 --- a/.github/workflows/changesets.yml +++ b/.github/workflows/changesets.yml @@ -1,9 +1,7 @@ name: Create PR containing updated CHANGELOG.md and release packages to NPM once PR is merged on: - push: - branches: - - main + workflow_dispatch: concurrency: ${{ github.workflow }}-${{ github.ref }} permissions: diff --git a/.github/workflows/cleanup-report.yml b/.github/workflows/cleanup-report.yml index e3e7daf1f9e7f4..72324fd88fd61f 100644 --- a/.github/workflows/cleanup-report.yml +++ b/.github/workflows/cleanup-report.yml @@ -1,7 +1,6 @@ on: + workflow_dispatch: workflow_call: - pull_request: - types: [closed] permissions: contents: write diff --git a/.github/workflows/cron-bookingReminder.yml b/.github/workflows/cron-bookingReminder.yml index ff6384bc59cfaa..b07abec7b15ab4 100644 --- a/.github/workflows/cron-bookingReminder.yml +++ b/.github/workflows/cron-bookingReminder.yml @@ -1,11 +1,9 @@ name: Cron - bookingReminder on: + workflow_dispatch: # "Scheduled workflows run on the latest commit on the default or base branch." # — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule - schedule: - # Runs "At every 15th minute." (see https://crontab.guru) - - cron: "*/15 * * * *" jobs: cron-bookingReminder: env: diff --git a/.github/workflows/cron-changeTimeZone.yml b/.github/workflows/cron-changeTimeZone.yml index 5a988dc9f4f806..74d3cc6f6aec38 100644 --- a/.github/workflows/cron-changeTimeZone.yml +++ b/.github/workflows/cron-changeTimeZone.yml @@ -1,11 +1,9 @@ name: Cron - changeTimeZone on: + workflow_dispatch: # "Scheduled workflows run on the latest commit on the default or base branch." # — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule - schedule: - # Runs "At every full hour." (see https://crontab.guru) - - cron: "0 * * * *" jobs: cron-scheduleEmailReminders: diff --git a/.github/workflows/cron-checkSmsPrices.yml b/.github/workflows/cron-checkSmsPrices.yml index 3275314adb2ddd..3deb6c23fc683a 100644 --- a/.github/workflows/cron-checkSmsPrices.yml +++ b/.github/workflows/cron-checkSmsPrices.yml @@ -1,11 +1,9 @@ name: Cron - checkSmsPrices on: + workflow_dispatch: # "Scheduled workflows run on the latest commit on the default or base branch." # — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule - schedule: - # Runs “every minute” (see https://crontab.guru) - - cron: "* * * * *" jobs: cron-checkSmsPrices: env: diff --git a/.github/workflows/cron-downgradeUsers.yml b/.github/workflows/cron-downgradeUsers.yml index d5c2984b36d5c5..bfc95684b40ae2 100644 --- a/.github/workflows/cron-downgradeUsers.yml +++ b/.github/workflows/cron-downgradeUsers.yml @@ -4,9 +4,6 @@ on: workflow_dispatch: # "Scheduled workflows run on the latest commit on the default or base branch." # — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule - schedule: - # Runs "At 00:00 on day-of-month 1." (see https://crontab.guru) - - cron: "0 0 1 * *" jobs: cron-downgradeUsers: env: diff --git a/.github/workflows/cron-monthlyDigestEmail.yml b/.github/workflows/cron-monthlyDigestEmail.yml index d8ff0716069aca..9d42ff36fe3ad4 100644 --- a/.github/workflows/cron-monthlyDigestEmail.yml +++ b/.github/workflows/cron-monthlyDigestEmail.yml @@ -1,11 +1,9 @@ name: Cron - monthlyDigestEmail on: + workflow_dispatch: # "Scheduled workflows run on the latest commit on the default or base branch." # — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule - schedule: - # Runs on the 28th, 29th, 30th and 31st of every month (see https://crontab.guru) - - cron: "59 23 28-31 * *" jobs: cron-monthlyDigestEmail: env: diff --git a/.github/workflows/cron-scheduleEmailReminders.yml b/.github/workflows/cron-scheduleEmailReminders.yml index aecb91400f9bde..b21c31732e9792 100644 --- a/.github/workflows/cron-scheduleEmailReminders.yml +++ b/.github/workflows/cron-scheduleEmailReminders.yml @@ -3,11 +3,9 @@ name: Cron - scheduleEmailReminders on: + workflow_dispatch: # "Scheduled workflows run on the latest commit on the default or base branch." # — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule - schedule: - # Runs "At every 15th minute." (see https://crontab.guru) - - cron: "*/15 * * * *" jobs: cron-scheduleEmailReminders: env: diff --git a/.github/workflows/cron-scheduleSMSReminders.yml b/.github/workflows/cron-scheduleSMSReminders.yml index c2fd9c5608abf4..429a3a7f8af0d0 100644 --- a/.github/workflows/cron-scheduleSMSReminders.yml +++ b/.github/workflows/cron-scheduleSMSReminders.yml @@ -1,11 +1,9 @@ name: Cron - scheduleSMSReminders on: + workflow_dispatch: # "Scheduled workflows run on the latest commit on the default or base branch." # — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule - schedule: - # Runs "At every 15th minute." (see https://crontab.guru) - - cron: "*/15 * * * *" jobs: cron-scheduleSMSReminders: env: diff --git a/.github/workflows/cron-scheduleWhatsappReminders.yml b/.github/workflows/cron-scheduleWhatsappReminders.yml index 194b50e4e1b27b..443811d364b276 100644 --- a/.github/workflows/cron-scheduleWhatsappReminders.yml +++ b/.github/workflows/cron-scheduleWhatsappReminders.yml @@ -1,11 +1,9 @@ name: Cron - scheduleWhatsappReminders on: + workflow_dispatch: # "Scheduled workflows run on the latest commit on the default or base branch." # — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule - schedule: - # Runs "At every 15th minute." (see https://crontab.guru) - - cron: "*/15 * * * *" jobs: cron-scheduleWhatsappReminders: env: diff --git a/.github/workflows/cron-stale-issue.yml b/.github/workflows/cron-stale-issue.yml index 031aa869e2edcd..aa3e486a311de3 100644 --- a/.github/workflows/cron-stale-issue.yml +++ b/.github/workflows/cron-stale-issue.yml @@ -7,9 +7,6 @@ permissions: on: # "Scheduled workflows run on the latest commit on the default or base branch." # — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule - schedule: - # Runs "At 00:00." every day (see https://crontab.guru) - - cron: "0 0 * * *" workflow_dispatch: jobs: stale: diff --git a/.github/workflows/cron-syncAppMeta.yml b/.github/workflows/cron-syncAppMeta.yml index 38ea311415fe78..08332c9625b937 100644 --- a/.github/workflows/cron-syncAppMeta.yml +++ b/.github/workflows/cron-syncAppMeta.yml @@ -4,9 +4,6 @@ on: workflow_dispatch: # "Scheduled workflows run on the latest commit on the default or base branch." # — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule - schedule: - # Runs "At 00:00 on day-of-month 1." (see https://crontab.guru) - - cron: "0 0 1 * *" jobs: cron-syncAppMeta: env: diff --git a/.github/workflows/cron-webhooks-triggers.yml b/.github/workflows/cron-webhooks-triggers.yml index ea6bc39d75b535..f1ee7c20d6684b 100644 --- a/.github/workflows/cron-webhooks-triggers.yml +++ b/.github/workflows/cron-webhooks-triggers.yml @@ -1,11 +1,9 @@ name: Cron - webhookTriggers on: + workflow_dispatch: # "Scheduled workflows run on the latest commit on the default or base branch." # — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule - schedule: - # Runs “every minute” (see https://crontab.guru) - - cron: "* * * * *" jobs: cron-webhookTriggers: env: diff --git a/.github/workflows/delete-blacksmith-cache.yml b/.github/workflows/delete-blacksmith-cache.yml index 26addc991fecc6..eff285124213fc 100644 --- a/.github/workflows/delete-blacksmith-cache.yml +++ b/.github/workflows/delete-blacksmith-cache.yml @@ -6,8 +6,6 @@ on: description: "Blacksmith Cache Key to Delete" required: true type: string - pull_request: - types: [closed] jobs: manually-delete-blacksmith-cache: diff --git a/.github/workflows/i18n.yml b/.github/workflows/i18n.yml index 17254de7d8dac6..e5f7ae685bfc81 100644 --- a/.github/workflows/i18n.yml +++ b/.github/workflows/i18n.yml @@ -1,8 +1,6 @@ name: Run i18n AI automation on: - push: - branches: - - main + workflow_dispatch: concurrency: group: ${{ github.workflow }}-main cancel-in-progress: false diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 63142ee95d4e0b..a42a4c21e932fa 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,6 +1,5 @@ name: "Pull Request Labeler" on: - pull_request_target: workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} diff --git a/.github/workflows/nextjs-bundle-analysis.yml b/.github/workflows/nextjs-bundle-analysis.yml index 3f499d942ccb0a..766ed790875d6f 100644 --- a/.github/workflows/nextjs-bundle-analysis.yml +++ b/.github/workflows/nextjs-bundle-analysis.yml @@ -3,9 +3,6 @@ name: "Next.js Bundle Analysis" on: workflow_call: workflow_dispatch: - push: - branches: - - main permissions: actions: write diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index ddcef9f5ce82f0..3f4e94df285650 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -1,10 +1,6 @@ name: Post release on: workflow_dispatch: - push: - # Pattern matched against refs/tags - tags: - - "*" permissions: contents: write diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 8ae140d254d50b..e727a2dc9e7342 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -2,11 +2,6 @@ name: PR Update on: - pull_request_target: - types: [opened, synchronize, reopened] - branches: - - main - - gh-actions-test-branch workflow_dispatch: diff --git a/.github/workflows/release-docker.yaml b/.github/workflows/release-docker.yaml index 132d7420e5713a..b591c48ed44d01 100644 --- a/.github/workflows/release-docker.yaml +++ b/.github/workflows/release-docker.yaml @@ -11,10 +11,6 @@ env: DATABASE_HOST: "database:5432" on: - push: - tags: - - "v*" - # in case manual trigger is needed workflow_dispatch: inputs: RELEASE_TAG: diff --git a/.github/workflows/run-ci.yml b/.github/workflows/run-ci.yml index 00ba78b46bb567..30e2d8465cd4f4 100644 --- a/.github/workflows/run-ci.yml +++ b/.github/workflows/run-ci.yml @@ -1,8 +1,7 @@ name: Run CI on: - pull_request_target: - types: [labeled] + workflow_dispatch: permissions: actions: write diff --git a/.github/workflows/semantic-pull-requests.yml b/.github/workflows/semantic-pull-requests.yml index b9a80a0ec97804..a62803f1b1b162 100644 --- a/.github/workflows/semantic-pull-requests.yml +++ b/.github/workflows/semantic-pull-requests.yml @@ -1,12 +1,7 @@ name: "Validate PRs" on: - pull_request_target: - types: - - opened - - reopened - - edited - - synchronize + workflow_dispatch: permissions: pull-requests: write