Skip to content

ci: publish in the environment release #22

Closed

Description

@uniqueg

Rename the GitHub environment of the PyPI job in release.yml from pypi to release, as decided for the org (release for publishing), now that the maintainer has set up the environment release and registers the matching PyPI trusted publishers (workflow release.yml, environment release; PyPI trusted publishing binds the environment name, so this is a coordinated change). Comments and docs naming the environment follow.

Scope narrowed (2026-10-31). Moved to follow-up issues:

Activity

  1. added
    priority: low
    status: triage
    type: ci / cd
    workload: hours
    on Oct 29, 2026
  2. uniqueg commented on Oct 31, 2026

    @uniqueg
    MemberAuthor

    Addition decided by the maintainer (2026-10-31), to be done in the same PR, when foca-plugins publishes to PyPI (as in foca#563):

    • READMEs now show the logo via relative paths (docs/images/...), which PyPI can't resolve.
    • Before python -m build, the release workflow rewrites relative image paths in README.md to absolute URLs pinned to the release tag: https://raw.githubusercontent.com/${{ github.repository }}/<tag>/<path>. The repository name comes from the run context, so nothing in the source names the organisation.
    • A test checks that the rewritten README has no relative image paths left.
    • Build backend stays setuptools + setuptools-scm.
  3. added
    status: in progress
    workload: minutes
    and removed
    status: triage
    workload: hours
    on Oct 31, 2026
  4. changed the title [-]ci: align the release job names[/-] [+]ci: publish in the environment release[/+] on Oct 31, 2026
  5. removed
    status: in progress
    on Oct 31, 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: lowtype: ci / cdworkload: minutes

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions