{"id":13606233,"url":"https://github.com/ChartBoost/ruff-action","last_synced_at":"2025-04-12T08:30:41.486Z","repository":{"id":165197125,"uuid":"621883517","full_name":"ChartBoost/ruff-action","owner":"ChartBoost","description":"A GitHub Action for Ruff","archived":true,"fork":false,"pushed_at":"2024-10-09T16:34:02.000Z","size":34,"stargazers_count":130,"open_issues_count":8,"forks_count":20,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-03-23T13:02:15.346Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChartBoost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-31T15:38:05.000Z","updated_at":"2025-03-01T09:57:58.000Z","dependencies_parsed_at":"2024-02-26T03:28:53.743Z","dependency_job_id":"a055958f-6152-4750-9989-f5938f065e7b","html_url":"https://github.com/ChartBoost/ruff-action","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChartBoost%2Fruff-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChartBoost%2Fruff-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChartBoost%2Fruff-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChartBoost%2Fruff-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChartBoost","download_url":"https://codeload.github.com/ChartBoost/ruff-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248539753,"owners_count":21121228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T19:01:07.399Z","updated_at":"2025-04-12T08:30:36.477Z","avatar_url":"https://github.com/ChartBoost.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"\u003e [!WARNING]  \n\u003e This repository is no longer actively maintained. It is strongly suggested that you use the [officially-supported Ruff action from Astral](https://github.com/astral-sh/ruff-action).\n\n\n# ruff-action\nA GitHub Action for Ruff\n\n\nRuff can now be used as a [GitHub Action](https://github.com/features/actions).\n\nThis action is commonly used as a pass/fail test to ensure your repository stays clean, abiding the [Rules](https://docs.astral.sh/ruff/rules/) specified in your configuration.  Though it runs `ruff`, the action can do anything `ruff` can (ex, fix).\n\n## Compatibility\nThis action is known to support all GitHub-hosted runner OSes.  It likely can run on self-hosted runners, but might need specific dependencies. Only published versions of Ruff are supported (i.e. whatever is available on PyPI).\n\n## Basic Usage\nCreate a file (ex: `.github/workflows/ruff.yml`) inside your repository with:\n\n```yaml\nname: Ruff\non: [push, pull_request]\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: chartboost/ruff-action@v1\n```\n\n## Advanced Usage\nThe Ruff action can be customized via optional configuration parameters passed to Ruff (using `with:`):\n\n- version: Must be a Ruff release available on PyPI. By default, latest release of Ruff. You can pin a version, or use any valid version specifier.\n- args: You can specify the arguments to pass to the ruff command. By default, it's `check`.\n- src: default, '.'\n\nSee [Configuring Ruff](https://github.com/astral-sh/ruff/blob/main/docs/configuration.md) for details\n\n### Use a different ruff version\n```yaml\n- uses: chartboost/ruff-action@v1\n  with:\n    version: 0.2.2\n```\n\n### Specify a different source directory\n```yaml\n- uses: chartboost/ruff-action@v1\n  with:\n    src: './src'\n```\n\n### Use `ruff format`\n```yaml\n- uses: chartboost/ruff-action@v1\n  with:\n    args: 'format --check'\n```\n\n### Only run ruff on changed files\n```yaml\n- uses: chartboost/ruff-action@v1\n  with:\n    changed-files: 'true'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChartBoost%2Fruff-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FChartBoost%2Fruff-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChartBoost%2Fruff-action/lists"}