Skip to content

ci: drop unused scheduled workflows (security-scan, template-sync) - #74

Merged
TomKaltofen merged 4 commits into
mainfrom
chore/trim-low-value-checks
Jun 29, 2026
Merged

ci: drop unused scheduled workflows (security-scan, template-sync)#74
TomKaltofen merged 4 commits into
mainfrom
chore/trim-low-value-checks

Conversation

@TKaltofen

@TKaltofen TKaltofen commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Resolves the tk-437 question: which template checks churn without value, and how security/sync updates should reach forks.

What changes

  • Remove security-scan.yaml (weekly pip-audit). It dumped a JSON report into the Actions tab that nobody monitors on a template repo, and it is redundant with GitHub's native Dependabot security alerts. The tox -e security env stays for on-demand local CVE scans.
  • Remove template-sync.yaml (weekly). It is a no-op in the template repo itself (template is always its own ancestor) and does a whole-tree merge into forks that conflicts on pyproject.toml/README/package dirs for any customized plugin. Pulling later template changes is now a deliberate manual step.
  • Docs updated to match (github-workflows.md, github-repository-settings.md), including documenting the previously-undocumented scaffold-test.yml workflow and its per-PR scaffold check.

Dependabot stays on its existing weekly grouped cadence (a monthly change was considered and reverted).

What stays (the value, not the noise)

  • test.yml tox gate across Python 3.10-3.13 (pytest, ruff, mypy --strict, bandit) + placeholder check.
  • scaffold-test.yml end-to-end template-rename validation.
  • release.yaml semantic-release.
  • tox -e security (pip-audit) on demand.

Security note

Removing the scheduled security-scan.yaml does not open a gap: native Dependabot security alerts scan the dependency graph continuously and fire regardless of update cadence, bandit SAST still runs on every PR, and tox -e security is available on demand.

The weekly security-scan and template-sync workflows generated churn no
one acts on:

- security-scan.yaml ran pip-audit on a schedule and dumped a JSON report
  into the Actions tab that nobody monitors. It is redundant with GitHub's
  native Dependabot security alerts. The on-demand `tox -e security` env
  is kept for local CVE scans.
- template-sync.yaml is a no-op in the template repo itself and does a
  whole-tree merge into forks that conflicts on pyproject.toml/README for
  any customized plugin. Pulling template changes is now a deliberate
  manual step.

Also moves Dependabot version updates from weekly to monthly to cut the
patch-bump PR noise that fights the 7-day `exclude-newer` resolver window.

Docs updated to match (github-workflows.md, github-repository-settings.md).
Review of #74 found the workflow doc undercounted: there are three
workflow files (test, scaffold-test, release), not two. The
scaffold-rename job was never documented even under the old count.

- github-workflows.md: correct "two" -> "three" and add a Scaffold
  Rename Workflow section.
- github-repository-settings.md: note the per-PR `scaffold` check so it
  can be added to required status checks.
Revert the weekly -> monthly change. The grouped weekly cadence is at
most one PR per week and keeps dev deps current; the noise it adds is
acceptable. Security updates are unaffected by the interval either way.
@TKaltofen TKaltofen changed the title ci: drop unused scheduled workflows, quiet Dependabot to monthly ci: drop unused scheduled workflows (security-scan, template-sync) Jun 25, 2026
Two completeness fixes flagged in #74 review:
- github-workflows.md: scaffold-test.yml has a workflow_dispatch
  trigger; add the missing Manual dispatch bullet.
- github-repository-settings.md: scaffold-test.yml also runs on the
  default GITHUB_TOKEN with no secrets; widen the sentence that only
  named test.yml so the no-secrets bucket is complete.
@TomKaltofen
TomKaltofen merged commit d2276c5 into main Jun 29, 2026
5 checks passed
@TomKaltofen
TomKaltofen deleted the chore/trim-low-value-checks branch June 29, 2026 07:41
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.

2 participants