Skip to content

Commit 51e15bc

Browse files
committed
Gate package publishing on trusted setup
1 parent 5c289e8 commit 51e15bc

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/python-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ jobs:
8080
publish:
8181
name: Publish verified stack to PyPI
8282
needs: build
83+
if: ${{ vars.PYPI_PUBLISH_ENABLED == 'true' }}
8384
runs-on: ubuntu-latest
8485
environment: pypi
8586
permissions:

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
- **Installable Python release chain**: the public distribution is now
66
`sonicfield-oida` because the shorter PyPI name belongs to an unrelated
77
project; imports and CLIs remain `oida`. A tag-gated Trusted Publishing
8-
workflow builds, isolates, and publishes the canonical `akouo-contract`,
9-
`akousma`, `akousmata`, and Oída distributions without repository tokens.
8+
workflow builds and isolates the canonical `akouo-contract`, `akousma`,
9+
`akousmata`, and Oída distributions without repository tokens. Publishing
10+
is enabled only after all four PyPI Trusted Publishers are configured.
1011

1112
- **Oída-owned reasoning layer**: event conversation now has a fixed prompt
1213
hierarchy, a whitelist-built evidence packet, and a strict response contract.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,3 +359,7 @@ variables as the fallback; they are never written into reasoning settings.
359359
installed as one stack rather than copied into divergent forks. Those
360360
dependencies must be published to the target package index before a
361361
public-index Oída release.
362+
- Version tags build, isolate-test, and retain all four Python distributions.
363+
The PyPI upload job additionally requires the repository variable
364+
`PYPI_PUBLISH_ENABLED=true` and matching Trusted Publisher records for
365+
`akouo-contract`, `akousma`, `akousmata`, and `sonicfield-oida`.

0 commit comments

Comments
 (0)