Skip to content

ci: release only commits whose CI passed #590

Closed

Description

@uniqueg

Problem

The release workflows release.yml (package and images) and release-chart.yml (Helm library chart) don't check that CI passed for the tagged commit. A tag on a commit whose CI failed, or never ran, would still be released. cloud-registry, proTES, trs-filer, cloud-components, cloud-registry-ui and .github check this in their release workflows (found by Sourcery on the release-job alignment, #588 / elixir-cloud-aai/foca-plugins#50).

Proposal

As in the other repos (e.g. the step "Check that CI passed for the release commit" in cloud-components' and .github's release.yml):

  • The prepare job fails unless a successful run of the CI workflow (ci.yml) exists for a push of the tagged commit, with an error that says to re-run the workflow once CI has passed.
  • Every publishing job needs prepare, so nothing is published without it.
  • Tests (where the repo tests its workflows) and the release docs updated.

Maintainer decision (2026-11-01): CI must always pass for a commit before it is released; the only exception for now is the docs site repository.

Activity

  1. added this to the v0.20.0 milestone on Nov 1, 2026
  2. added
    priority: high
    status: triage
    type: ci / cd
    workload: hours
    status: in progress
    on Nov 1, 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: highstatus: in progressstatus: triagetype: ci / cdworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions