Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pypa/gh-action-pypi-publish
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.6.4
Choose a base ref
...
head repository: pypa/gh-action-pypi-publish
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.8.1
Choose a head ref
  • 17 commits
  • 9 files changed
  • 8 contributors

Commits on Dec 9, 2022

  1. Bump certifi from 2022.9.24 to 2022.12.7 in /requirements

    Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.9.24 to 2022.12.7.
    - [Release notes](https://github.com/certifi/python-certifi/releases)
    - [Commits](certifi/python-certifi@2022.09.24...2022.12.07)
    
    ---
    updated-dependencies:
    - dependency-name: certifi
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Dec 9, 2022
    Configuration menu
    Copy the full SHA
    5a2ea37 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2022

  1. Configuration menu
    Copy the full SHA
    a260c7e View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2023

  1. [pre-commit.ci] pre-commit autoupdate

    updates:
    - [github.com/asottile/add-trailing-comma.git: v2.3.0 → v2.4.0](https://github.com/asottile/add-trailing-comma.git/compare/v2.3.0...v2.4.0)
    - [github.com/PyCQA/isort.git: 5.10.1 → 5.11.4](https://github.com/PyCQA/isort.git/compare/5.10.1...5.11.4)
    - [github.com/python-jsonschema/check-jsonschema.git: 0.18.3 → 0.19.2](https://github.com/python-jsonschema/check-jsonschema.git/compare/0.18.3...0.19.2)
    - [github.com/pre-commit/pre-commit-hooks.git: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks.git/compare/v4.3.0...v4.4.0)
    - [github.com/codespell-project/codespell: v2.2.1 → v2.2.2](codespell-project/codespell@v2.2.1...v2.2.2)
    - [github.com/PyCQA/flake8.git: 4.0.1 → 6.0.0](https://github.com/PyCQA/flake8.git/compare/4.0.1...6.0.0)
    - [github.com/PyCQA/pylint.git: v2.15.3 → v2.15.9](https://github.com/PyCQA/pylint.git/compare/v2.15.3...v2.15.9)
    pre-commit-ci[bot] authored Jan 2, 2023
    Configuration menu
    Copy the full SHA
    c13a06e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    91e6121 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7eb3b70 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2023

  1. Bump cryptography from 38.0.4 to 39.0.1 in /requirements

    Bumps [cryptography](https://github.com/pyca/cryptography) from 38.0.4 to 39.0.1.
    - [Release notes](https://github.com/pyca/cryptography/releases)
    - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
    - [Commits](pyca/cryptography@38.0.4...39.0.1)
    
    ---
    updated-dependencies:
    - dependency-name: cryptography
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Feb 8, 2023
    Configuration menu
    Copy the full SHA
    6a2da9b View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2023

  1. Merge pull request #121 from pypa/dependabot/pip/requirements/cryptog…

    …raphy-39.0.1
    
    Bump cryptography from 38.0.4 to 39.0.1 in /requirements
    webknjaz authored Mar 6, 2023
    Configuration menu
    Copy the full SHA
    0eaf3a1 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2023

  1. ⇪ Bump isort to v5.12.0

    The previous version had a Poetry packaging problem. This patch
    fixes that.
    webknjaz committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    d2ce3ec View commit details
    Browse the repository at this point in the history
  2. 🎨 Warn about empty password/token action input

    Before this patch, the warning would say that the token was
    expected to start with `pypi-` but it may be unobvious. With this
    change, the end-users are warned when they're passing a completely
    empty password value.
    
    Fixes #25.
    colindean authored and webknjaz committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    efcb9ba View commit details
    Browse the repository at this point in the history
  3. Merge pull request #122 from colindean/empty-token

    This patch implements displaying a warning when the password
    input passed in to the action is empty.
    webknjaz authored Mar 10, 2023
    Configuration menu
    Copy the full SHA
    32b5e93 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2023

  1. 🎨 Convert action inputs to use kebab-case

    Up until now, the action input names followed the snake_case naming
    pattern that is well familiar to the pythonistas. But in GitHub
    actions, the de-facto standard is using kebab-case, which is what
    this patch achieves.
    This style helps make the keys in YAML better standardized and
    distinguishable from other identifiers.
    The old snake_case names remain functional for the time being and will
    not be removed until at least v3 release of this action.
    webknjaz committed Mar 11, 2023
    Configuration menu
    Copy the full SHA
    f131721 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'maintenance/kebab-case-inputs' into unstable/v1

    This patch normalizes the action inputs to be kebab-case while keeping
    the old snake_case fallbacks working.
    webknjaz committed Mar 11, 2023
    Configuration menu
    Copy the full SHA
    7104b6e View commit details
    Browse the repository at this point in the history
  3. 🐛 Make kebab options fall back for snake_case

    The previous release didn't take into account the action defaults so
    the promised fallbacks for the old input names didn't work. This patch
    corrects that mistake.
    webknjaz committed Mar 11, 2023
    Configuration menu
    Copy the full SHA
    22b4d1f View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2023

  1. OIDC beta support

    Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
    woodruffw and webknjaz committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    2b46bad View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2023

  1. Merge PR #123 into unstable/v1

    This patch implements support for secret-less OIDC-based publishing to
    PyPI-like package indexes. The OIDC flow is activated when neither
    username, nor password action inputs are set.
    
    The OIDC "token exchange," is an authentication technique that PyPI
    (and TestPyPI, and hopefully some future others) supports as an
    alternative to long-lived username/password combinations or API
    tokens.
    
    OIDC token exchange boils down to the following set of steps:
    
    1. A user (currently only someone in the OIDC beta on PyPI) configured
       a particular GitHub Actions workflow in their repository as a
       trusted OIDC publisher;
    2. That workflow uses this action to mint an OIDC token;
    3. That OIDC token is sent to PyPI (or another index), which exchanges
       it for a temporary API token;
    4. That API token is used as normal.
    
    For the seamless configuration-free upload to work, the end-users are
    expected to explicitly assign the `id-token: write` privilege to the
    auto-injected `GITHUB_TOKEN` secret on the job level. They should also
    set up GHA workflow trust on the PyPI side.
    
    PyPI's documentation: https://pypi.org/help/#openid-connect
    Beta test enrollment: pypi/warehouse#12965
    webknjaz committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    8ef2b3d View commit details
    Browse the repository at this point in the history
  2. 🐛Correct default upload URL

    close: #130
    zhongjiajie committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    d5417dc View commit details
    Browse the repository at this point in the history
  3. 🐛 Merge PR #131 from into unstable/v1

    This patch fixes the default PyPI upload URL in the action metadata — a regression that happened in v1.8.0.
    webknjaz authored Mar 16, 2023
    Configuration menu
    Copy the full SHA
    a3a3baf View commit details
    Browse the repository at this point in the history
Loading