Skip to content

Migrate Pages and K9 badge publication together to the current template contract #49

Open

Description

@hyperpolymath

At Secret Types main fcd288cfdf7a818d280d06a43d7484c3b7d8ca51, Pages run 43750459382 fails at workflow startup, before any job runs. GitHub names haskell-actions/setup@0f8e8c99d88aeb3fbfd523f1ef2c6f762d10d64d as disallowed by the repository Actions policy.

The current .github/workflows/pages.yml uses casket-ssg and the Haskell action. The canonical template Pages workflow at e67ee001 has since migrated to pinned ddraig-ssg and a digest-pinned Idris2 image, and deploys the governance badge with the site after Dogfood Gate.

This is not a standalone workflow-file replacement: Secret Types still publishes its K9 badge to the governance-badges orphan branch through scripts/governance-badge.js; its README and tests/workflows/governance_badge_test.sh assert that contract. The template Pages workflow instead requires the governance-badge-site artifact and Pages badge URL. Copying only Pages would introduce a missing-artifact failure.

Bounded follow-up:

  • Compare the canonical Pages, Dogfood badge producer, renderer/publisher, README and wiring/firing tests as one migration.
  • Preserve pinned source/image identities, read-only build permissions, trust in default-branch code, run freshness checks and serialization.
  • Preserve truthful failed/skipped/unavailable badge states; never keep stale green evidence or drop the badge during a site deployment.
  • Run positive and negative workflow/renderer tests and validate the generated site; then confirm the exact-head hosted build and deployment.
  • Reconcile the native action lock and declared template-variant paths using their owning tools.

Do not broaden the Actions allowlist or disable a gate merely to remove this startup failure. Canonical release identity and mirror credentials are separate work. This issue records the remaining Pages setup obligation; it does not claim the replacement site is already validated.

Activity

  1. added
    refactor
    scaffolding
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorscaffolding

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions