Skip to content

fix(ci): remove all cron schedules from GitHub Actions workflows (#694) - #695

Merged
bradygaster merged 1 commit into
devfrom
squad/694-remove-all-crons
Mar 29, 2026
Merged

bradygaster merged 1 commit into
devfrom
squad/694-remove-all-crons

Conversation

@bradygaster

Copy link
Copy Markdown
Collaborator

What

Removes every schedule: / cron: trigger from all 6 workflow files and their template copies.

Why

Cron-triggered workflows cause unwanted CI runs, quota burn, and noise. This is the final removal — cron schedules must never be re-added.

Files changed (6 files, 22 deletions, 0 additions)

  • .github/workflows/squad-docs-links.yml — removed weekly Monday cron
  • .github/workflows/squad-heartbeat.yml — removed 30-minute heartbeat cron
  • templates/workflows/squad-heartbeat.yml — template copy
  • .squad-templates/workflows/squad-heartbeat.yml — template copy
  • packages/squad-cli/templates/workflows/squad-heartbeat.yml — CLI package template
  • packages/squad-sdk/templates/workflows/squad-heartbeat.yml — SDK package template

What stays

  • All event-driven triggers (issues, pull_request, workflow_dispatch)
  • squad watch for local polling
  • SDK scheduler APIs (library feature, not repo workflows)

Closes #694

Obliterates every schedule/cron trigger from all workflow files and
their template copies. No cron jobs will ever run in this repo again.
Use `squad watch` for local polling or event-driven triggers only.

Closes #694

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 29, 2026 23:08
@bradygaster
bradygaster merged commit 3a14a27 into dev Mar 29, 2026
10 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes all GitHub Actions cron/schedule triggers from the repo’s active workflows and the mirrored workflow templates, aligning with the “no cron jobs — ever” policy and reducing unwanted CI runs.

Changes:

  • Removed the on.schedule / cron trigger from squad-heartbeat.yml in all template/workflow copies.
  • Removed the weekly scheduled trigger from the docs link-check workflow.
  • Leaves event-driven triggers and workflow_dispatch intact.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
.github/workflows/squad-docs-links.yml Removes weekly cron trigger for link checking.
.github/workflows/squad-heartbeat.yml Removes 30-minute cron trigger; retains event/manual triggers.
templates/workflows/squad-heartbeat.yml Removes cron trigger from workflow template.
.squad-templates/workflows/squad-heartbeat.yml Removes cron trigger from canonical template copy.
packages/squad-cli/templates/workflows/squad-heartbeat.yml Removes cron trigger from CLI template copy.
packages/squad-sdk/templates/workflows/squad-heartbeat.yml Removes cron trigger from SDK template copy.

@@ -1,8 +1,6 @@
name: Docs — Weekly Link Check

Copilot AI Mar 29, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Workflow is no longer scheduled, but the name: still says “Weekly Link Check”. Consider renaming to something schedule-agnostic (or adding a note) so it doesn’t imply a cron trigger still exists.

Suggested change
name: Docs — Weekly Link Check
name: Docs — Link Check

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove all cron schedules from GitHub Actions workflows — permanently

3 participants