Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

adding changed-files: 'true' fails #27

Open
ingjulioreyes opened this issue Jun 24, 2024 · 5 comments
Open

adding changed-files: 'true' fails #27

ingjulioreyes opened this issue Jun 24, 2024 · 5 comments

Comments

@ingjulioreyes
Copy link

Hi,

I'm using this config:

- name: Ruff lint
  continue-on-error: true
  uses: chartboost/ruff-action@e18ae971ccee1b2d7bbef113930f00c670b78da4 #https://github.com/ChartBoost/ruff-action/releases/tag/v1
    with:
      src: './scripts'
      args: 'format --check'
      changed-files: 'true'

But when running the action shows:

Warning: Unexpected input(s) 'changed-files', valid inputs are ['args', 'src', 'version']
Run chartboost/ruff-action@e18ae971ccee1b2d7bbef113930f00c670b78da4
  with:
    src: ./scripts
    args: format --check
    changed-files: true
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.10.14/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.10.14/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.14/x64
    Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.14/x64
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.14/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.14/x64/lib

Any advice on how to proceed? Thanks!

@brucearctor
Copy link
Contributor

Looks like v1/release hasn't been updated. I'd look at updating the hash to a more recent version.

@ingjulioreyes
Copy link
Author

Yeah, I just changed to the latest commit hash and it works.

This one: 4913422

uses: chartboost/ruff-action@491342200cdd1cf4d5132a30ddc546b3b5bc531b

@VICIWUOHA
Copy link

VICIWUOHA commented Aug 3, 2024

Still keeping an eye on this for when it'll stop warning.

@simon-bal
Copy link

WIll this be fixed in the near-future in a released version?

@DavidJFelix
Copy link
Contributor

Relevant changes: astral-sh/ruff-action#4 also take a look at the new repo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants