Skip to content

chore: update actions#10693

Merged
radoering merged 1 commit intopython-poetry:mainfrom
radoering:update-actions
Jan 17, 2026
Merged

chore: update actions#10693
radoering merged 1 commit intopython-poetry:mainfrom
radoering:update-actions

Conversation

@radoering
Copy link
Member

@radoering radoering commented Jan 17, 2026

Summary by Sourcery

Update GitHub Actions workflows and composite actions to use newer major versions of upstream actions.

Build:

  • Bump actions/checkout, actions/cache, actions/upload-artifact, actions/download-artifact, actions/setup-node, and actions/setup-python to their latest referenced versions across workflows and composite actions.
  • Update dessant/lock-threads and actions/create-github-app-token to newer major releases in maintenance workflows.

@sourcery-ai
Copy link

sourcery-ai bot commented Jan 17, 2026

Reviewer's Guide

This PR updates pinned versions (commit SHAs) of several GitHub Actions across workflows and composite actions to their latest major/minor releases, without changing workflow logic or behavior.

File-Level Changes

Change Details Files
Bump actions/checkout to v6.0.2 everywhere it is used.
  • Update all workflow jobs to reference actions/checkout@de0fac2 instead of the previous v5 commit SHA
  • Ensure persist-credentials and other step configuration remain unchanged
.github/workflows/.tests-matrix.yaml
.github/workflows/release.yaml
.github/workflows/docs.yaml
.github/workflows/tests.yaml
Upgrade caching-related actions to the latest major versions.
  • Update actions/cache from v4.2.4 to v5.0.2 in workflows and composite actions while keeping cache keys and paths the same
  • Update actions/upload-artifact from v4.6.2 to v6.0.0 and actions/download-artifact from v5.0.0 to v7.0.0 in the release workflow, preserving artifact names and paths
.github/workflows/.tests-matrix.yaml
.github/actions/poetry-install/action.yaml
.github/workflows/release.yaml
Refresh language/runtime setup actions to newer versions.
  • Bump actions/setup-node from v5.0.0 to v6.2.0 in the docs workflow while keeping the Node version at 18
  • Bump actions/setup-python from v6.0.0 to v6.1.0 in the bootstrap-poetry composite action without changing inputs or outputs
.github/workflows/docs.yaml
.github/actions/bootstrap-poetry/action.yaml
Update third-party maintenance actions to their latest major version.
  • Upgrade dessant/lock-threads from v5.0.1 to v6.0.0 for both issues and pull request locking jobs
  • Upgrade actions/create-github-app-token from v2.1.1 to v2.2.1 in the backport workflow
.github/workflows/lock-threads.yaml
.github/workflows/backport.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey - I've found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location> `.github/workflows/release.yaml:20-23` </location>
<code_context>
       - run: pipx run build

-      - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
+      - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
         with:
           name: distfiles
           path: dist/
</code_context>

<issue_to_address>
**suggestion:** Consider tightening upload-artifact behavior for missing files after the major version bump.

Given the major version bump of `actions/upload-artifact`, consider explicitly setting `if-no-files-found: error` (or your preferred behavior) so missing `dist/` artifacts fail the workflow rather than silently succeeding, and to avoid any surprises if defaults change in future versions.

```suggestion
      - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
        with:
          name: distfiles
          path: dist/
          if-no-files-found: error
```
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@radoering radoering added the impact/docs Contains or requires documentation changes label Jan 17, 2026
@github-actions
Copy link

Deploy preview for website ready!

✅ Preview
https://website-mfcr4o9vo-python-poetry.vercel.app

Built with commit 6a2683a.
This pull request is being automatically deployed with vercel-action

@radoering radoering merged commit a09b503 into python-poetry:main Jan 17, 2026
158 checks passed
nothing-991 pushed a commit to nothing-991/python-poetry that referenced this pull request Feb 3, 2026
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

impact/docs Contains or requires documentation changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments