File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88jobs :
99 publish :
1010 runs-on : ubuntu-latest
11+ environment : pypi
1112 permissions :
1213 contents : write
1314 id-token : write
Original file line number Diff line number Diff line change @@ -56,6 +56,16 @@ This repository includes:
5656
5757The release workflow expects PyPI publishing to be configured for trusted publishing or equivalent repository credentials.
5858
59+ For the checked-in GitHub Actions workflow, the trusted-publishing environment name is ` pypi ` .
60+ If PyPI does not have a matching trusted publisher for:
61+
62+ - owner: ` oceanusXXD `
63+ - repository: ` code2skill `
64+ - workflow: ` .github/workflows/release.yml `
65+ - environment: ` pypi `
66+
67+ then the ` Publish to PyPI ` step will fail even when build and metadata checks succeed.
68+
5969## Manual Release Safety Notes
6070
6171- do not use ` twine upload dist/* ` if ` dist/ ` contains artifacts from multiple versions
You can’t perform that action at this time.
0 commit comments