Skip to content

Commit

Permalink
Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.12.0 (#1664)
Browse files Browse the repository at this point in the history
Bumps
[pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish)
from 1.10.3 to 1.12.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pypa/gh-action-pypi-publish/releases">pypa/gh-action-pypi-publish's
releases</a>.</em></p>
<blockquote>
<h2>v1.12.0</h2>
<h2>⚡️ Why Should You Update?</h2>
<p>This is a minor version bump, but it does not add any new user-facing
interfaces. Still, I felt like it should not be a patch-release: this
update brings <em>significant changes</em> to the action invocation and
internal release process.</p>
<p>Previously, each invocation of <a
href="https://github.com/marketplace/actions/pypi-publish"><code>pypi-publish</code></a>
required building a container image in the invoking CI job. This was
inefficient and added about 30 seconds to the publishing jobs at their
startup just to build the container.</p>
<p>I wanted to improve this for over three years (<a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/58">#58</a>)
and a little over half a year ago <a
href="https://github.com/br3ndonland"><code>@​br3ndonland</code></a><a
href="https://github.com/sponsors/br3ndonland">💰</a> stepped up and
offered a very comprehensive solution to the limitation I was hoping to
overcome: <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/230">#230</a>.</p>
<p>Going forward, I'm going to pre-build per-version containers prior to
cutting each release. And the action invocations will just pull the
image from GitHub Container registry.</p>
<p><strong>🪞 Full Diff</strong>: <a
href="https://github.com/pypa/gh-action-pypi-publish/compare/v1.11.0...v1.12.0">https://github.com/pypa/gh-action-pypi-publish/compare/v1.11.0...v1.12.0</a></p>
<p><strong>🧔‍♂️ Release Manager:</strong> <a
href="https://github.com/sponsors/webknjaz"><code>@​webknjaz
🇺🇦</code></a></p>
<h2>v1.11.0</h2>
<h2>🔏 Helping you become a trusted supply chain link 🔗</h2>
<p>Two months ago, in <a
href="https://github.com/pypa/gh-action-pypi-publish/releases/tag/v1.10.0">v1.10.0</a>,
<a href="https://github.com/woodruffw"><code>@​woodruffw</code></a><a
href="https://github.com/sponsors/woodruffw">💰</a> integrated support
for generating and uploading <a
href="https://peps.python.org/pep-0740/">PEP 740</a> digital
attestations that can be used as provenance objects when analyzing
dependency chains for the integrity.</p>
<p>To make sure it works well, it was implemented as an opt-in, so a
relatively small subset of projects was able to try it out, and a few
issues have been determined and fixed during this time.</p>
<p>That changes today! This version changes the feature toggle to <a
href="https://github.com/marketplace/actions/pypi-publish#generating-and-uploading-attestations">“on
by default”</a>. This means that from now on, every project making use
of Trusted Publishing will start producing and publishing digital
attestations without having to do any modifications to how they use this
action.</p>
<p><a href="https://github.com/woodruffw"><code>@​woodruffw</code></a><a
href="https://github.com/sponsors/woodruffw">💰</a> flipped the
respective toggle in <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/277">#277</a>
with the possibility to opt-out.</p>
<h2>🛠️ Internal Dependencies</h2>
<p><a href="https://github.com/woodruffw"><code>@​woodruffw</code></a><a
href="https://github.com/sponsors/woodruffw">💰</a> bumped
<code>sigstore</code> to v3.5.1 and <code>pypi-attestations</code> to
v0.0.13 in lock files via <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/276">#276</a>.</p>
<p><strong>🪞 Full Diff</strong>: <a
href="https://github.com/pypa/gh-action-pypi-publish/compare/v1.10.3...v1.11.0">https://github.com/pypa/gh-action-pypi-publish/compare/v1.10.3...v1.11.0</a></p>
<p><strong>🧔‍♂️ Release Manager:</strong> <a
href="https://github.com/sponsors/webknjaz"><code>@​webknjaz
🇺🇦</code></a></p>
<p><strong>🙏 Special Thanks</strong> to William for working on improving
the supply chain provenance in the ecosystem! The overall effort is
tracked @ <a
href="https://redirect.github.com/pypi/warehouse/issues/15871">pypi/warehouse#15871</a>.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/61da13deb5f5124fb1536194f82ed3d9bbc7e8f3"><code>61da13d</code></a>
Merge pull request <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/230">#230</a>
from br3ndonland/ghcr</li>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/36965cb24aed76043aeb8f19062b6a31fa56b990"><code>36965cb</code></a>
Run smoke tests before Docker builds</li>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/da554410b00985409d772ab68bf845b44bbf5f4c"><code>da55441</code></a>
Move smoke test to reusable workflow</li>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/80b1d50e0dd4d304b48449d781099aee65e1ee35"><code>80b1d50</code></a>
Make <code>workflow_dispatch</code> Docker tag input required</li>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/1b9f21a74186d118c2657dfb4595b0526ecde1a8"><code>1b9f21a</code></a>
[pre-commit.ci] auto fixes from pre-commit.com hooks</li>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/cfb9d93a2623522535b927826fc87684f70365d6"><code>cfb9d93</code></a>
Add Docker tags for major and minor versions</li>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/153ccde9bc89de7fabd26026009f28e4c3f5bae1"><code>153ccde</code></a>
Verify fail-fast in unsupported environments</li>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/d03addb8e640d5bc0f05e40dfc630b3fa59776d8"><code>d03addb</code></a>
Drop args from create-docker-action.py</li>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/bacb62682c754871d3471af8890de22d03b01199"><code>bacb626</code></a>
Fail-fast in unsupported environments</li>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/7ea8313fc2c8774b7904a970426f44c5a8defbcc"><code>7ea8313</code></a>
Check repo ID instead of repo owner ID</li>
<li>Additional commits viewable in <a
href="https://github.com/pypa/gh-action-pypi-publish/compare/v1.10.3...v1.12.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pypa/gh-action-pypi-publish&package-manager=github_actions&previous-version=1.10.3&new-version=1.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Nov 6, 2024
1 parent 028f9f7 commit fd454a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ jobs:
file_glob: true
- name: Publish package distributions to PyPI
if: ${{ steps.check-tag.outputs.match != '' }}
uses: pypa/gh-action-pypi-publish@v1.10.3
uses: pypa/gh-action-pypi-publish@v1.12.0
with:
password: ${{ secrets.PYPI_API_TOKEN }}
- name: Publish package distributions to TestPyPI
if: ${{ steps.check-tag.outputs.match == '' }}
uses: pypa/gh-action-pypi-publish@v1.10.3
uses: pypa/gh-action-pypi-publish@v1.12.0
with:
password: ${{ secrets.TESTPYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
Expand Down

0 comments on commit fd454a1

Please sign in to comment.