Skip to content

ci: update third-party actions to node 24#1216

Merged
estebany-qd merged 1 commit into
devfrom
ci/estebany/update-all-actions-node24-3
May 25, 2026
Merged

ci: update third-party actions to node 24#1216
estebany-qd merged 1 commit into
devfrom
ci/estebany/update-all-actions-node24-3

Conversation

@estebany-qd
Copy link
Copy Markdown
Contributor

Update all third-party GitHub Actions to Node 24-compatible versions before the June 2 deadline.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 23, 2026

Deploy Preview for poetic-froyo-8baba7 ready!

Name Link
🔨 Latest commit fbda0fb
🔍 Latest deploy log https://app.netlify.com/projects/poetic-froyo-8baba7/deploys/6a1143d6fa46090008104637
😎 Deploy Preview https://deploy-preview-1216--poetic-froyo-8baba7.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 23, 2026

Review Change Stack

📝 Walkthrough

Walkthrough

This PR updates the pinned commit SHA for the pypa/gh-action-pypi-publish GitHub Action in the publish workflow file. The step configuration and credentials remain unchanged; only the action reference is updated to point to a different commit.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Suggested reviewers

  • joein
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main objective: updating third-party GitHub Actions to Node 24 compatibility, which aligns with the workflow file change.
Description check ✅ Passed The description is directly related to the changeset, explaining the purpose of updating GitHub Actions to Node 24-compatible versions before the June 2 deadline.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/estebany/update-all-actions-node24-3

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/python-publish.yml:
- Around line 41-45: Replace the long-lived token publish configuration by
removing the user/password inputs from the pypa/gh-action-pypi-publish step
(remove `user: __token__` and `password: ${{ secrets.PYPI_API_TOKEN }}`) and
enable GitHub OIDC Trusted Publishing by adding `permissions: id-token: write`
at the workflow or job level; keep the `uses: pypa/gh-action-pypi-publish@...`
action but rely on the OIDC flow instead of the `secrets.PYPI_API_TOKEN`.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: da41ca8c-425b-4b0e-940e-f42cea407e44

📥 Commits

Reviewing files that changed from the base of the PR and between 60ab32e and fbda0fb.

📒 Files selected for processing (1)
  • .github/workflows/python-publish.yml

Comment on lines 41 to 45
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major | 🏗️ Heavy lift

🧩 Analysis chain

🌐 Web query:

For pypa/gh-action-pypi-publish v1.14.0, what is the official configuration for PyPI Trusted Publishing with GitHub OIDC (required job permissions and whether user/password inputs should be removed)?

💡 Result:

For pypa/gh-action-pypi-publish v1.14.0, the official PyPI Trusted Publishing (GitHub OIDC) configuration is: 1) Required GitHub Actions job permissions - Set job (or workflow) permissions to include: id-token: write [1][2]. - This permission is mandatory; without it GitHub Actions won’t provide an OIDC token for the publishing flow [1][2]. 2) Remove username/password (and token) inputs - Configure the action’s containing job to enter the trusted publishing flow “without an explicit username or password” [3][4][2]. - The action’s README describes Trusted Publishing as avoiding a manually configured API token or username/password combination [3][4]. Example (job-level permissions) permissions: id-token: write steps: - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 This is consistent with both the action documentation and the PyPI “Using a publisher” trusted-publisher instructions: no explicit username/password (and no API token) is needed; PyPI exchanges the GitHub OIDC identity for a short-lived API token at publish time [3][1].

Citations:


Switch PyPI publishing to Trusted Publishing (GitHub OIDC)
The publish step still uses user: __token__ with password: ${{ secrets.PYPI_API_TOKEN }} (a long-lived API token). Configure the workflow to use Trusted Publishing by (1) removing the user/password inputs and (2) setting job/workflow permissions: id-token: write, which is required for the OIDC publishing flow.

🧰 Tools
🪛 zizmor (1.25.2)

[info] 42-42: prefer trusted publishing for authentication (use-trusted-publishing): this step

(use-trusted-publishing)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/python-publish.yml around lines 41 - 45, Replace the
long-lived token publish configuration by removing the user/password inputs from
the pypa/gh-action-pypi-publish step (remove `user: __token__` and `password:
${{ secrets.PYPI_API_TOKEN }}`) and enable GitHub OIDC Trusted Publishing by
adding `permissions: id-token: write` at the workflow or job level; keep the
`uses: pypa/gh-action-pypi-publish@...` action but rely on the OIDC flow instead
of the `secrets.PYPI_API_TOKEN`.

@estebany-qd estebany-qd merged commit 3ce3042 into dev May 25, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants