th#1918: .yml -> .yaml in python-gen-worker (PyPI trusted-publisher filename must be updated) - #784
Merged
Merged
Conversation
PaulFidika
enabled auto-merge
August 14, 2026 01:54
Paul, 2026-08-13: "please rename all .yml -> .yaml; I'm going with that naming now instead." Fleet umbrella th#1918; this is the pgw leg. *** ACTION REQUIRED ON PyPI BEFORE THE NEXT TAG *** PyPI trusted publishing binds to the workflow FILENAME. The trusted-publisher entry for the `gen-worker` project names `publish.yml`; once this lands the tag-push publish job mints an OIDC token for `publish.yaml` and PyPI will REFUSE it. Edit the entry (PyPI -> gen-worker -> Manage -> Publishing) to `publish.yaml` before cutting the next release. Renames: ci/native-kernels/proto-contract/publish workflows and Taskfile. No `name:` or job id changes, so `fast gates` / `tests` required contexts and the merge queue are untouched. Load-bearing references updated in the same commit: - native-kernels + proto-contract self-referencing `paths:` filters - scripts/assert_ci_proof.py Actions API path (actions/workflows/ci.yaml/runs) - scripts/lint_mypy_ratchet.py workflow path - tests/test_publish_proof_gate_pgw1191.py path + stderr assertion - docs/releasing.md commands, Taskfile and workflow comments CHANGELOG.md is left untouched: its `.yml` mentions are dated historical records of what those files were called at the time.
PaulFidika
force-pushed
the
th1918-yml-to-yaml
branch
from
August 14, 2026 02:09
c844961 to
5cf2df6
Compare
PaulFidika
added this pull request to the merge queue
Aug 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Paul, 2026-08-13: "please rename all .yml -> .yaml; I'm going with that naming now instead."
Fleet-wide campaign, tracked as th#1918; one mechanical PR per repo.
gen-workerTAGPyPI trusted publishing binds to the workflow FILENAME. The trusted-publisher entry for
the
gen-workerproject namespublish.yml. Once this merges, a tag push mints an OIDCtoken whose
workflow_refsayspublish.yaml, and PyPI will refuse the upload — thepublish job goes red at the last step, after CI, build and provenance have all passed.
Fix (Paul, one edit, ~30 seconds): PyPI →
gen-worker→ Manage → Publishing → edit theGitHub publisher's Workflow name from
publish.ymltopublish.yaml. Do it before thenext release cut; nothing else in the release procedure changes.
This is the only OIDC-bound workflow in the cozy repos other than cozy-eval, whose
publish.yml→publish.yamlrename is already merged — so thecozy-evaltrusted-publisherentry needs the same edit and is broken right now until it gets one.
What changed
Renames:
ci,native-kernels,proto-contract,publishworkflows andTaskfile.No
name:or job id changes, sofast gates/testsand the merge queue are untouched.Load-bearing references updated in the same commit:
native-kernelsandproto-contractself-referencingpaths:filters — a stale entrythere would stop each workflow triggering on edits to itself.
scripts/assert_ci_proof.py: the Actions API pathactions/workflows/ci.yaml/runs.Note GitHub treats a renamed workflow as a new one, so this query returns only runs from
after the rename — the first post-merge
cirun repopulates it, which happens on thismerge itself.
scripts/lint_mypy_ratchet.pyworkflow path.tests/test_publish_proof_gate_pgw1191.pypath constant and the stderr assertion.docs/releasing.mdcommands (gh workflow run ci.yaml --ref …), plus Taskfile andworkflow comments.
CHANGELOG.mdis deliberately untouched: its.ymlmentions are dated historical recordsof what those files were called at the time (and lanes do not edit the changelog).