Skip to content

CI: update linter action - #325

Open
antirotor wants to merge 2 commits into
developfrom
chore/update-linter-action
Open

CI: update linter action#325
antirotor wants to merge 2 commits into
developfrom
chore/update-linter-action

Conversation

@antirotor

Copy link
Copy Markdown
Member

Changelog Description

Use official and maintained ruff action, run only on changed python files.

Additional info

Used charboost/ruff-action is not maintained for 2 years. This is switching it to official astral-sh/ruff-action. It will run only on python files changed it the pull-request. Version of ruff is determined from pyproject.toml.

Testing notes:

Created PRs should be linted as expected, warnings only in modified Python files.

Use official and maintained ruff action, run only on changed python files.
@antirotor
antirotor requested review from BigRoy and iLLiCiTiT August 26, 2026 09:30
@antirotor antirotor self-assigned this Aug 26, 2026
Copilot AI lite review requested due to automatic review settings August 26, 2026 09:30
@antirotor antirotor added the type: maintenance Changes to the code that don't affect product functionality (Technical debt, refactors etc.)) label Aug 26, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the PR linting workflow to use the officially maintained Ruff GitHub Action and aims to lint only Python files changed in a pull request, with Ruff’s version sourced from pyproject.toml.

Changes:

  • Replace the unmaintained chartboost/ruff-action with astral-sh/ruff-action.
  • Add a “changed files” detection step and conditionally run Ruff only when Python files changed.
  • Configure Ruff to read its version from pyproject.toml.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/pr_linting.yml Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@BigRoy

BigRoy commented Sep 10, 2026

Copy link
Copy Markdown
Member

@iLLiCiTiT can you review?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: maintenance Changes to the code that don't affect product functionality (Technical debt, refactors etc.))

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants