Skip to content

ci: approve library chart releases #449

Closed

Description

@uniqueg

Why?

Releases of the library chart foca-common publish to GHCR without a human approval: pushing a signed chart-vX.Y.Z tag starts release-chart.yml, which tests the chart and then pushes, attests and signs it. FOCA's own release waits for a maintainer's approval (environment pypi) before anything irreversible is published; published chart versions can't be overwritten either.

What?

  • release-chart.yml: the job that pushes, attests and signs the chart runs in a protected environment (e.g. chart-release), after the chart tests and the kind installation, so the approval is given for a tested chart.
  • Repository settings (maintainer, before the change is merged, so the first run is protected): create the environment with a required reviewer and a deployment rule allowing chart-v* tags only.
  • Docs: "Releases" in docs/helm-chart.md and the release steps in docs/contributing.md mention the approval.

Notes

The tag ruleset (admins only, no updates or deletions) and the workflow's checks (signed tag, on dev, matching version, not yet published) stay as they are.

Activity

  1. added this to the v0.18.0 milestone on Oct 23, 2026
  2. added
    priority: medium
    status: triage
    type: ci / cd
    type: security
    workload: hours
    status: in progress
    and removed
    status: triage
    on Oct 23, 2026
  3. removed
    status: in progress
    on Oct 26, 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

    priority: mediumtype: ci / cdtype: securityworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions