Skip to content

Chore: Bump pypi-publish-action to v0.2.4 - #178

Merged
ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
lfreleng-bot-forks:code-monkey/issue-177
Nov 6, 2026
Merged

ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
lfreleng-bot-forks:code-monkey/issue-177

Conversation

@lf-releng-code-monkey-bot

Copy link
Copy Markdown
Contributor

Closes #177

Authored by an AI agent; human review required
Command Exit
git grep -c 276603f5d72b11427755ef139c6fb80489cec5d9 1
git grep -c b60c42d3d7b32ccf4c851d9e2995530965a6e9cd -- examples/ 0
prek run --files examples/build-test-release/github.yaml examples/build-test-release/gerrit.yaml examples/build-test-release-multiarch/github.yaml examples/build-test-release-multiarch/gerrit.yaml 0
uvx zizmor --offline --persona auditor <four example files> 0
aislop scan --changes --base 548240d1b96701cccf08ff996008474c3a34d23e --json 0
git commit -s (pre-commit and commit-msg hooks incl. gitlint) 0

The github-code-monkey-bot workflow opened this pull request.
Nobody has merged it; a maintainer must review it first.
Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds per antagonistic review round; after that a maintainer, or the next antagonistic review, takes on any finding that remains, and a maintainer reviews every round before merge.


Bumps the eight lfreleng-actions/pypi-publish-action pins in the examples/ caller templates from v0.2.0 (276603f5…) to v0.2.4 (b60c42d3d7b32ccf4c851d9e2995530965a6e9cd), two per file:

  • examples/build-test-release/github.yaml
  • examples/build-test-release/gerrit.yaml
  • examples/build-test-release-multiarch/github.yaml
  • examples/build-test-release-multiarch/gerrit.yaml

Projects copy these templates into their own workflows. v0.2.4 moves the action's gh-action-pypi-publish dependency to v1.11.12, which clears the open security advisories against the earlier release. The publish step handles the PyPI credential or OIDC token, so this bump goes in ahead of the Dependabot cooldown. .github/dependabot.yml is unchanged. No action inputs, outputs or permissions changed between the two versions, so the with: blocks stay as they are. Each changed line still keeps its indentation and its # yamllint disable-line comment.

Checks run

  • git grep -c 276603f5d72b11427755ef139c6fb80489cec5d9: no matches
  • git grep -c b60c42d3d7b32ccf4c851d9e2995530965a6e9cd -- examples/: 2 in each of the four files
  • prek run --files <four files>: all hooks passed (yamllint, actionlint, zizmor, reuse, codespell, example workflow validation, timeout-minutes check). gitlint also passed when the commit was made.
  • uvx zizmor --offline --persona auditor <four files>: no findings
  • aislop scan --changes --base 548240d --json: empty diagnostics

For reviewers

  • This session had no network access to pypi-publish-action, so I could not confirm that b60c42d3… is the v0.2.4 commit SHA (and not the tag object 22721414…). The SHA comes from the issue. Please check it against the release.
  • CI does not run the example templates. The pre-commit lint hooks are the only checks that cover them.

Update the eight lfreleng-actions/pypi-publish-action pins in the
examples/ caller templates from v0.2.0 to v0.2.4. Projects copy these
templates into their own workflows, so new consumers would otherwise
start on a publish action whose gh-action-pypi-publish dependency
carries open security advisories (PyJWT, certifi, urllib3, dnspython,
pyasn1). v0.2.4 moves that dependency to v1.11.12, which clears them.

The bump is made ahead of the Dependabot cooldown because the publish
step handles the PyPI credential or OIDC token. The cooldown setting in
.github/dependabot.yml is unchanged. No action inputs, outputs or
permissions changed between v0.2.0 and v0.2.4, so the with: blocks
stay as they are. The SHA is the release commit, not the tag object.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: lf-releng-code-monkey-bot[bot] <332050256+lf-releng-code-monkey-bot[bot]@users.noreply.github.com>
@lf-releng-code-monkey-bot
lf-releng-code-monkey-bot Bot requested a review from a team November 6, 2026 13:19
@github-actions github-actions Bot added the chore Code chores (dependency updates, etc) label Nov 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The publishing-action dependency security update has no active review issues.

No open issues 🎉

What changed in this PR

Updates the caller templates that projects copy into their workflows to use pypi-publish-action v0.2.4, addressing the dependency security update requested in #177.

Changes:

  • Updates all eight publishing pins across four templates from v0.2.0 to the specified v0.2.4 SHA.
  • Preserves action inputs, permissions, indentation, and lint-suppression comments.
  • Leaves Dependabot configuration and cooldown settings unchanged.
File Description
examples/​build-test-release/​github.yaml Updates test and production publishing pins for GitHub callers.
examples/​build-test-release/​gerrit.yaml Updates test and production publishing pins for Gerrit callers.
examples/​build-test-release-multiarch/​github.yaml Updates both publishing pins for multiarchitecture GitHub callers.
examples/​build-test-release-multiarch/​gerrit.yaml Updates both publishing pins for multiarchitecture Gerrit callers.

Review effort: Balanced

@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions merged commit 24a7ae2 into lfreleng-actions:main Nov 6, 2026
60 of 61 checks passed
@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions deleted the code-monkey/issue-177 branch November 6, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Code chores (dependency updates, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump pypi-publish-action to v0.2.4 in examples

2 participants