Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 6 additions & 19 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,15 @@
name: Publish to PyPI

# -----------------------------------------------------------------------------
# PARKED - manual trigger only.
#
# The distribution name 'apte' is available on PyPI, so the old blocker (the
# 'protest' name was taken, PEP 541 reclaim pending) is gone. This workflow
# stays on workflow_dispatch only until the PyPI Trusted Publisher is configured,
# so a release never triggers a failing publish.
#
# To ACTIVATE once the Trusted Publisher exists:
# 1. On PyPI, add a Trusted Publisher (or a pending publisher for the brand-new
# 'apte' project):
# owner=renaudcepre, repo=<github repo>, workflow=publish.yml, environment=pypi
# Note: 'repo' must match the actual GitHub repo slug. The repo is still
# named 'protest' until renamed to 'apte'; configure the publisher with
# whatever the slug is at that point.
# 2. Add the release trigger below:
# on:
# release:
# types: [published] # release-please publishes the GitHub release
# workflow_dispatch:
# Publishes apte to PyPI via Trusted Publishing (OIDC, no stored API token).
# PyPI Trusted Publisher: owner=renaudcepre, repo=apte, workflow=publish.yml.
# Fires on every published GitHub release (release-please cuts these) and can
# also be run manually.
# -----------------------------------------------------------------------------

on:
release:
types: [published]
workflow_dispatch:

permissions:
Expand Down
10 changes: 10 additions & 0 deletions JOURNAL.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# JOURNAL

## 2026-06-25 — ci(publish): apte publie sur PyPI, trigger release cable

Trusted Publisher PyPI configure (pending publisher : repo=renaudcepre/apte,
workflow=publish.yml, environment laisse sur "Any"). apte 0.3.0 publie via
workflow_dispatch manuel (build depuis main = 0.3.0), OIDC, sans token stocke.
Verifie live : pypi.org/project/apte/ 200, `pip install apte` ok, nom reserve.

publish.yml : bloc PARKED retire, trigger `release: [published]` ajoute (+ garde
workflow_dispatch). Les prochaines releases release-please publieront automatiquement.

## 2026-06-24 — fix(assets): wordmark SVG protest -> apte

Le rename texte n'avait pas touche les logos : le mot "protest" y est vectorise
Expand Down
Loading