Skip to content

⬆️ Update action pins in the template - #85

Merged
tsvikas merged 1 commit into
mainfrom
ci/template-action-pins
Nov 1, 2026
Merged

tsvikas merged 1 commit into
mainfrom
ci/template-action-pins

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Automated update of the SHA-pinned actions under project_name/.github/workflows/, which Dependabot cannot reach. Each pin is moved to the latest release and its # vX.Y.Z comment is rewritten to match.

Review the diff as you would a Dependabot PR: check the release notes below for anything behavioural, especially on major bumps.

Release notes

actions/download-artifact v8.0.1 → v8.0.2

Compare v8.0.1...v8.0.2

v8.0.2

What's Changed

New Contributors

Full Changelog: https://redirect.github.com/actions/download-artifact/compare/v8.0.1...v8.0.2

astral-sh/setup-uv v10.2.0 → v10.3.2

Compare v10.2.0...v10.3.2

v10.3.2

Changes

🧰 Maintenance

📚 Documentation

v10.3.1

Changes

This release includes a fix so that multiple concurrent workflows trying to upload the same cache no longer warn

##[warning]Failed to save: Unable to reserve cache with key ..., another job may be creating this cache.

🐛 Bug fixes

  • fix: preserve cache error class names in save-cache bundle @dannyward630 (#1093)

🧰 Maintenance

📚 Documentation

  • docs: cache-dependency-glob matches relative to the working directory @flange-ipb (#1092)
  • docs: update version references to v10.3.0 @github-actions[bot] (#1090)

⬆️ Dependency updates

  • chore(deps): roll up Dependabot updates @eifinger (#1101)

v10.3.0

Changes

This release adds the python-arch input to select a Python architecture independently of the Python version. With uv 0.13.0 or later, set python-arch: x86_64 to use x64 Python on Windows ARM64 runners.

It also includes embedded checksums for uv releases through 0.13.0.

  • Use macOS 15 runners for tests @charliermarsh (#1081)

🚀 Enhancements

  • Add python-arch support @zanieb (#1079)

🧰 Maintenance

⬆️ Dependency updates

hynek/build-and-inspect-python-package v3.0.1 → v3.0.2

Compare v3.0.1...v3.0.2

v3.0.2

This is a pure security dependency update brought to you by the number 4.

j178/prek-action v3.0.0 → v3.1.0

Compare v3.0.0...v3.1.0

v3.1.0

What's Changed

Full Changelog: https://redirect.github.com/j178/prek-action/compare/v3.0.2...v3.1.0

v3.0.2

What's Changed

New Contributors

Full Changelog: https://redirect.github.com/j178/prek-action/compare/v3.0.1...v3.0.2

v3.0.1

What's Changed

Full Changelog: https://redirect.github.com/j178/prek-action/compare/v3.0.0...v3.0.1

psf/black 26.5.1 → 26.10.1

Compare 26.5.1...26.10.1

26.10.1

Highlights

This release fixes a security issue in Black's bundled GitHub Action. Repositories that
use the action are encouraged to update to the latest version of Black immediately. This
update is received automatically when using psf/black@stable, and is independent of
the version of Black installed by the action.

When the GitHub Action reads version specifiers from tool.black.required-version, it
now only accepts released versions of Black, as it already did for black requirements
in dependency lists. Other values, such as URL references, are now rejected. This issue
has been registered as GHSA-cg8m-r9f2-5wm2; a CVE identifier is pending.

Stable style

  • Fix a long Jupyter notebook assignment magic (for example x = !ls -la) being wrapped
    in parentheses, which IPython can no longer run; such cells are now left unchanged
    (#5481)
  • Keep repeated lines outside the selected --line-ranges unchanged (#5436)
  • Fix --line-ranges formatting lines that follow a statement when formatting joins or
    re-indents that statement (#5484)
  • Fix --line-ranges crashing with an internal error when an unselected statement has a
    # fmt: skip comment on the last line before a closing bracket (#5477)
  • Prevent moving an encoding declaration (for example # -*- coding: latin-1 -*-) onto
    the first two lines of a file (#5487)
  • Fix adding an extra trailing blank line inside a multi-line module docstring when its
    last line is near the line length limit (#5494)

Preview style

  • Do not split short expressions on delimiters (such as binary operators, comparisons,
    or comprehensions) inside brackets when preceded by a standalone comment (#5455)
  • Fix the unstable string_processing feature removing backslash-newline sequences from
    raw strings, which changed their value (#5482)
  • Avoid adding unnecessary parentheses around unbreakable right-hand side expressions in
    assignments (such as annotated assignments or subscript targets) (#5473)
  • Parenthesize expressions with parameter comments when they exceed the line length
    under --preview (#5442)
  • Fix wrap_long_dict_values_in_parens dropping the parentheses around a right-hand
    side that contains a dictionary, leaving a line over the length limit (#5492)
  • Fix the unstable string_processing feature adding a space after * or ** in a PEP
    695 type parameter (* Ts = ...) when it splits a string in the parameter's default
    (#5504)
  • Avoid unnecessary line splits of trailers (such as indexing/subscripts) when an
    earlier bracket split exceeds the line length only due to a trailing comment (#5498)

Configuration

  • Add --cache-dir to configure the cache directory from the command line (#5433)
  • Don't cache a file as formatted after formatting or checking it with --line-ranges,
    which made a later full black --check pass and black skip the unformatted lines
    (#5476)
  • Respect a .gitignore that starts with a UTF-8 byte order mark. The mark became part
    of the first pattern, so that pattern never matched and Black formatted files that git
    ignores (#5497)

Performance

  • Avoid quadratic runtime when splitting very long lines with many trailing bracket
    pairs (such as consecutive subscripts) (#5475)

Integrations

  • Fix the GitHub Action crashing on dependency-group includes when use_pyproject is
    enabled (#5479)
  • When the GitHub Action reads version specifiers from tool.black.required-version, it
    now only accepts released versions of Black, as it already did for black
    requirements in dependency lists. Other values, such as URL references, are now
    rejected. (#5510)

26.10.0

Stable style

  • --line-ranges no longer inserts an empty line after a docstring when the range
    covers only the docstring itself (#5312)
  • Fix # fmt: skip on a bracketed ternary turning the surrounding tuple into a call
    (#5464)
  • Fix crash when # fmt: skip is placed on a one-line function or class with PEP 695
    type parameters (#5429)
  • Fix an inline comment after the closing bracket of optional parentheses being moved
    inside the parentheses when the parenthesized expression contains own-line comments
    (#5395)
  • Fix unparseable output when # fmt: skip is placed on a bracket of an if, while,
    for, or with header (#5401, #5405)
  • Fix crash when formatting parenthesized expressions with multiple inline comments and
    # fmt: skip (#5414)
  • Fix parsing Jupyter notebook assignment magics when non-ASCII characters appear
    earlier on the line (#5381)
  • Preserve blank lines that come immediately before a # fmt: on comment (#5300)
  • Keep the parentheses around the target of an annotated assignment (e.g.
    (x): int = 5), which prevent CPython from including the name in __annotations__
    (#5321)
  • Stop treating a t-string in docstring position as a docstring (e.g. t" spam " as
    the first statement of a module, class or function) (#5287)
  • Fix unparseable output for a t-string whose replacement field contains a quote (e.g.
    t'\'{a["b"]}\'') (#5265)
  • Fix unparseable output for a triple-quoted string whose body ends in an
    already-escaped double quote (e.g. '''\'''\"''') (#5262)
  • Fix --skip-magic-trailing-comma dropping the trailing comma from a split
    single-element tuple used as a lambda parameter default (#5246)
  • Fix unstable formatting when an inline comment sits on optional parentheses (e.g. a
    parenthesized assert message) (#5241)
  • Fix --skip-magic-trailing-comma dropping the trailing comma of a one-element
    subscript (a[x,]) when the line is long enough to be split and contains a power
    operator (#5272)
  • Fix crash when a standalone comment sits between tokens of a comprehension or lambda
    (#5144)
  • Fix inline comments on a bracket inside a comprehension being dropped (#5330)
  • Respect the magic trailing comma in a PEP 695 type parameter list containing a
    *TypeVarTuple or **ParamSpec (#5244)
  • Fix crash when a comment-only # fmt: off/# fmt: on block is followed by a with
    statement after another standalone comment (#5189)
  • Fix a crash when splitting case case if ... match patterns at very small line
    lengths (#5147)
  • Fix multiline docstring indentation when leading tabs are used inside indented
    docstrings (#5148)
  • Respect # fmt: skip on a line that opens a bracket (e.g.
    from x import ( # fmt: skip) when a standalone comment is among the bracket's
    contents (#5161)
  • Fix an AST safety error when separate # type: ignore comments in a parenthesized
    attribute chain were merged onto one physical line (#5297)
  • Preserve comments and blank lines outside requested ranges when formatting with
    --line-ranges (#5175)
  • Fix crash when # fmt: skip is used on one-line async def, async with, and
    async for statements containing a semicolon (#5311)
  • Stop converting form feeds or other similar characters in docstrings into newlines
    (#5461)
  • Fix --skip-source-first-line turning the skipped line's CRLF ending into \r\r\n
    when reformatting a file with CRLF line endings (#5438)

Preview style

New preview features

  • Add missing blank lines after classes whose last method has an ellipsis body (#5439)
  • Split only the brackets holding a magic trailing comma when more trailers follow them
    (e.g. stop splitting inside the [2] of [1,][2](3)) (#5448)
  • Keep dictionary keys containing operators together on one line when the value can be
    wrapped onto a new line instead (#5435)
  • Remove redundant parentheses around individual variables in unpacking targets (e.g.
    for (x), (y) in points: becomes for x, y in points:) (#5416)
  • Normalize uppercase T prefixes on t-strings to lowercase (#5425)
  • Remove redundant parentheses around generator expressions (#5304, #5369)
  • Preserve two blank lines before a top-level class starting inside a # fmt: off block
    after an import (#5238)
  • Fix unnecessary parentheses around short right-hand expressions in indexed assignments
    (e.g. x[key] = expr) (#5095)
  • Parenthesize tuple expressions in yield statements for consistency with function
    calls and returns (#5170)
  • Stop splitting between a variable and its operator (not in, ==, is, ...) when
    the right-hand side is a bracketed expression, and instead split inside the brackets
    (#5135)
  • In .pyi stub files, enforce a blank line after a function or method that has a
    docstring-only body when another comment or statement follows it (#5158)

Updates to existing preview features

  • Fix crash in stub files when # fmt: skip is placed on a function in a group of
    same-name decorated functions (e.g. `@o

… truncated, see the release.

pypa/gh-action-pypi-publish v1.14.2 → v1.14.3

Compare v1.14.2...v1.14.3

v1.14.3

Keeping the community safe is a collaborative effort! 💛💙

[!important]
🚨 This release includes fixes for GHSA-5xjx-3w67-w9x9 patched up by @sethmlarson💰 in #427 and in other places across the ecosystem.

Additional ecosystem and related mitigations beyond you might want to watch out for:

🛠️ Security Tightening

@webknjaz💰 made sure the dependency tree within the action runtime uses hash-checking from now on via https://redirect.github.com/pypa/gh-action-pypi-publish/pull/420.

🪞 Full Diff: https://redirect.github.com/pypa/gh-action-pypi-publish/compare/v1.14.2...v1.14.3

🧔‍♂️ Release Manager: @webknjaz 🇺🇦

💬 Discuss on Bluesky 🦋, on Mastodon 🐘 and on GitHub.

GH Sponsors badge

- actions/download-artifact v8.0.1 → v8.0.2
- astral-sh/setup-uv v10.2.0 → v10.3.2
- hynek/build-and-inspect-python-package v3.0.1 → v3.0.2
- j178/prek-action v3.0.0 → v3.1.0
- psf/black 26.5.1 → 26.10.1
- pypa/gh-action-pypi-publish v1.14.2 → v1.14.3
@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Nov 1, 2026

@sourcery-ai sourcery-ai Bot 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.

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Needs a human reviewer. The updated publishing actions run in jobs with PyPI publishing permissions, so a regression could publish an incorrect distribution externally. Reverting would restore the prior actions for future runs, but it would not fully undo a release already published.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@tsvikas
tsvikas merged commit 1998d2a into main Nov 1, 2026
8 checks passed
@tsvikas
tsvikas deleted the ci/template-action-pins branch November 1, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant