Skip to content

chore(deps): update astral-sh/ruff-action action to v4#357

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/astral-sh-ruff-action-4.x
Open

chore(deps): update astral-sh/ruff-action action to v4#357
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/astral-sh-ruff-action-4.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 19, 2026

This PR contains the following updates:

Package Type Update Change
astral-sh/ruff-action action major v3v4.0.0

Release Notes

astral-sh/ruff-action (astral-sh/ruff-action)

v4.0.0: 🌈 Immutable releases, node24 and manifest-file

Compare Source

This is the first immutable release of ruff-action 🥳

All future releases are also immutable, if you want to know more about what this means checkout the docs.

This action now also supports the mainfest-file input which lets you define custom ruff versions and custom download locations.

Last but not least this action now runs on node24. This might be a breaking change on very old self-hosted runners.

🚨 Breaking changes

🚀 Enhancements

🧰 Maintenance

⬆️ Dependency updates

v3.6.1: 🌈 fix automatic minor tag updates

Compare Source

Changes

This is just a bugfix release for the release process

🧰 Maintenance

v3.6

Compare Source

v3.6.0: 🌈 search for pyproject.toml in parent dirs

Compare Source

Changes

This release brings some bug fixes like

  • support for hashes in requirement.txt files
  • ignoring environment markers in version specifiers like "ruff~=0.13 ; python_version >= '3.11'" to prevent them from breaking the version resolver. If you have a usecase for needing the environment markers to derive the correct ruff version this action should use please add your voice to #​256

In case no pyproject.toml is in the configured src this action now also walks up the directory tree to search for it, just like the "normal" ruff does. This is limited to the current workspace to prevent this action from trying to access private data outside the GitHub Actions runner.

EDIT: Oh I forgot to mention that the error matcher now properly detects invalid formatting and displays the correct line number etc in the GitHub UI.

🐛 Bug fixes

🚀 Enhancements

🧰 Maintenance

⬆️ Dependency updates

v3.5.1: 🌈 Improve error messages on GitHub API errors

Compare Source

Changes

Recent GitHub outages showed that we can improve the error messages to tell the user what happened and what can be done about it.

🐛 Bug fixes
🧰 Maintenance
⬆️ Dependency updates

v3.5.0: 🌈 support reading Ruff version from tools.poetry.dependencies

Compare Source

Changes

A big thank you to @​G-Rath for his contribution 🥳

🚀 Enhancements
  • feat: support reading Ruff version from tools.poetry.dependencies @​G-Rath (#​177)
🧰 Maintenance
⬆️ Dependency updates

v3.5

Compare Source

v3.4

Compare Source

v3.4.0: 🌈 Add support for pep440 version specifiers

Compare Source

Changes

With this release you can now also define your ruff version using pep440 specifier:

- name: Install a pep440-specifier-satisfying version of ruff
  uses: astral-sh/ruff-action@v3
  with:
    version: ">=0.11.10,<0.12.0"
🚀 Enhancements
🧰 Maintenance
📚 Documentation
⬆️ Dependency updates

v3.3.1: 🌈 Support ruff versions 0.1.8-0.4.7

Compare Source

Changes

This bugfix release enables support for ruff versions 0.1.8-0.4.7.
They have a different release URL and lead to a HTTP 404 before.

🐛 Bug fixes
🧰 Maintenance
📚 Documentation

v3.3.0: 🌈 Support for reading the ruff version from Poetry groups

Compare Source

Changes

Thanks to @​scootermon we now also find the desired ruff versions in poetry groups in pyproject.toml:

[tool.poetry.group.dev.dependencies]
ruff = "0.8.3"
🚀 Enhancements
🧰 Maintenance
📚 Documentation

v3.3

Compare Source

v3.2.2: 🌈 Maintenance and update known checksums

Compare Source

Changes

This release only changes internals and updates known checksums

🧰 Maintenance
📚 Documentation
⬆️ Dependency updates

v3.2.1: 🌈 Bump dependencies to fix vulnerabilites

Compare Source

Changes
🧰 Maintenance
⬆️ Dependency updates

v3.2.0: 🌈 Support requirements.txt as version-file

Compare Source

Changes

With this release you can also use a file in requirements.txt format instead of pyproject.toml for the input version-file.
The file ending decides which parser gets used, so make sure the filenames end in *.txt or *.toml

Thank you @​daveisfera

🐛 Bug fixes
🚀 Enhancements
🧰 Maintenance
📚 Documentation

v3.2

Compare Source

v3.1

Compare Source

v3.1.0: 🌈 Determine ruff version from optional or dependency groups

Compare Source

Changes

Big thank you to @​AA-Turner for expanding the pyproject.toml parsing to also find the ruff version to use in the following scenarios:

[dependency-groups]
dev = [
    { include-group = "docs" },
    { include-group = "lint" },
]
docs = [
    "sphinx",
]
lint = [
    "ruff==0.8.3",
]
[project.optional-dependencies]
lint = [
    "ruff==0.8.3",
]
🚀 Enhancements
  • Read the [project.optional-dependencies] and [dependency-groups] tables @​AA-Turner (#​66)

v3.0.2: 🌈 Full support for GHES

Compare Source

Changes

This release fixes some issues that prevented use with GitHub Enterprise Server instances.
Parsing the ruff version from pyproject.toml now also uses a library that is fully TOML 1.0.0 compliant.

🐛 Bug fixes
🧰 Maintenance
📚 Documentation
⬆️ Dependency updates

v3.0.1: 🌈 Replace toml parsing library

Compare Source

Changes

We used a toml parsing library which did not support the full TOML spec.

Thank you @​AbstractUmbra for reporting this!

🐛 Bug fixes

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title chore(deps): update astral-sh/ruff-action action to v4 chore(deps): update astral-sh/ruff-action action to v4 - autoclosed Apr 19, 2026
@renovate renovate Bot closed this Apr 19, 2026
@renovate renovate Bot deleted the renovate/astral-sh-ruff-action-4.x branch April 19, 2026 14:09
@renovate renovate Bot changed the title chore(deps): update astral-sh/ruff-action action to v4 - autoclosed chore(deps): update astral-sh/ruff-action action to v4 Apr 21, 2026
@renovate renovate Bot reopened this Apr 21, 2026
@renovate renovate Bot force-pushed the renovate/astral-sh-ruff-action-4.x branch 2 times, most recently from f5ea448 to 4c12bc7 Compare April 21, 2026 19:58
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.

0 participants