Skip to content

ci(docker): trim the manual-rebuild comment — functional reason only - #149

Merged
MrChengLen merged 1 commit into
mainfrom
pr-docker-dispatch-comment
Sep 26, 2026
Merged

MrChengLen merged 1 commit into
mainfrom
pr-docker-dispatch-comment

Conversation

@MrChengLen

Copy link
Copy Markdown
Owner

What

Shortens the comment above workflow_dispatch: in .github/workflows/docker.yml from 10 lines to 3. It now states only what a manual run does:

  # Manual rebuild: dispatched on main, runs the whole chain (build, push,
  # sign, `notify-ops`, deploy) without a code change, e.g. to redeploy
  # during an incident.

Why

The old comment narrated operational history of the hosted deployment. The project's scope rule keeps ops content out of this public repository, so that history belongs with the deployment's private runbooks. "Dispatched on main" is spelled out because the Run workflow button accepts any ref.

Scope

Verification

  • Full suite: 1250 passed, 64 skipped locally (Windows), including test_line_endings.
  • ruff check + format clean; gitleaks and the pre-commit scope patterns clean; scripts/scope_review.py reports no concerns.
  • security-auditor PASS, code-reviewer APPROVE (its wording suggestion is applied).

🤖 Generated with Claude Code

The comment above `workflow_dispatch:` narrated operational history of the
hosted deployment. That belongs with the deployment's private runbooks, not
in the public workflow (scope rule: no ops content in this repository). It
now says only what a manual run does: dispatched on main, it runs the whole
chain (build, push, sign, notify-ops, deploy) without a code change.

"Dispatched on main" is spelled out because the Run workflow button accepts
any ref, and the run the comment describes is the one on main.

Comment-only: yaml.safe_load of the file is unchanged, and triggers, jobs,
permissions and action pins are byte-identical. The file stays LF (i/lf),
so the diff is exactly the comment block. No CHANGELOG entry, in line with
earlier CI-only edits that change nothing a user or self-hoster sees.
History is not rewritten: nothing in the removed text was secret.

Full suite 1250 passed, 64 skipped locally on Windows (incl.
test_line_endings); ruff check + format clean; gitleaks and the pre-commit
scope patterns clean; security-auditor PASS, code-reviewer APPROVE.
i18n drift and pip-audit not applicable: no templates, catalogs or
requirements touched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MrChengLen
MrChengLen merged commit 50a97f1 into main Sep 26, 2026
5 checks passed
@MrChengLen
MrChengLen deleted the pr-docker-dispatch-comment branch September 26, 2026 14:48
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