Skip to content

ci(codeql): cron weekly→monthly (cut 3, standards#233 Option B)#58

Merged
hyperpolymath merged 1 commit into
mainfrom
ci/codeql-monthly-cron-288
May 31, 2026
Merged

ci(codeql): cron weekly→monthly (cut 3, standards#233 Option B)#58
hyperpolymath merged 1 commit into
mainfrom
ci/codeql-monthly-cron-288

Conversation

@hyperpolymath
Copy link
Copy Markdown
Owner

Summary

Single-line cron change in .github/workflows/codeql.yml (and any vendored subpath copies in this repo):

 schedule:
-  - cron: '0 6 * * 1'   # weekly Monday 06:00 UTC
+  - cron: '0 6 1 * *'   # monthly 1st 06:00 UTC

Mirrors hyperpolymath/standards#286 (canonical caller template).

Scope

Owner-decision Option B from standards#233 selected 2026-05-30. PR-trigger runs (push + pull_request) unchanged — every PR still gets CodeQL coverage.

Sweep

Estate-wide tracker: hyperpolymath/standards#288.

Refs hyperpolymath/standards#233 #288 #286

🤖 Generated with Claude Code

Per owner-decision Option B on hyperpolymath/standards#233 (2026-05-30):
move scheduled CodeQL from weekly (`'0 6 * * 1'`) to monthly
(`'0 6 1 * *'`). Same shape as canonical caller-template change
in hyperpolymath/standards#286.

## Why

- ~85% Actions-minute savings on scheduled CodeQL (12 runs/yr vs 52).
- Bounded 30-day CVE-detection floor.
- PR-trigger runs (push + pull_request) unchanged — every PR still gets
  CodeQL coverage.

## Sweep

Part of estate-wide sweep tracked at hyperpolymath/standards#288.

Refs hyperpolymath/standards#233
Refs hyperpolymath/standards#288
Refs hyperpolymath/standards#286

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hyperpolymath hyperpolymath merged commit 0bd1d6f into main May 31, 2026
@hyperpolymath hyperpolymath deleted the ci/codeql-monthly-cron-288 branch May 31, 2026 08:20
@github-actions
Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 72 issues detected

Severity Count
🔴 Critical 1
🟠 High 5
🟡 Medium 66

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Action perpolymath/standards/.github/workflows/governance-reusable.yml@main\n needs attention",
    "type": "unpinned_action",
    "file": "governance.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "No permissions declaration -- add permissions: read-all",
    "type": "missing_permissions",
    "file": "gleam-ci.yml",
    "action": "add_permissions",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "No permissions declaration -- add permissions: read-all",
    "type": "missing_permissions",
    "file": "language-policy.yml",
    "action": "add_permissions",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "No permissions declaration -- add permissions: read-all",
    "type": "missing_permissions",
    "file": "rescript-deno-ci.yml",
    "action": "add_permissions",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "codeql.yml lists `language: javascript-typescript` but the repo has no source files in any CodeQL-scannable language. The analyze job will exit 'no source files' on every run. Switch the matrix to `actions` (which scans workflow files — every repo has those).",
    "type": "codeql_language_matrix_mismatch",
    "file": "codeql.yml",
    "action": "switch_codeql_matrix_to_actions",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Issue in casket-pages.yml",
    "type": "missing_timeout_minutes",
    "file": "casket-pages.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in casket-pages.yml",
    "type": "missing_timeout_minutes",
    "file": "casket-pages.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in ci.yml",
    "type": "missing_timeout_minutes",
    "file": "ci.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in ci.yml",
    "type": "missing_timeout_minutes",
    "file": "ci.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in ci.yml",
    "type": "missing_timeout_minutes",
    "file": "ci.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

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.

1 participant