From 3d965137e7d73d11302e2b9459aadb3db84c7e20 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Sun, 29 Sep 2024 19:46:01 -0400 Subject: [PATCH] Link to astral-sh/ruff-action --- README.md | 4 ++-- docs/integrations.md | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index a7942d6f532cb..991d7d3289125 100644 --- a/README.md +++ b/README.md @@ -182,7 +182,7 @@ Ruff can also be used as a [pre-commit](https://pre-commit.com/) hook via [`ruff Ruff can also be used as a [VS Code extension](https://github.com/astral-sh/ruff-vscode) or with [various other editors](https://docs.astral.sh/ruff/editors/setup). Ruff can also be used as a [GitHub Action](https://github.com/features/actions) via -[`ruff-action`](https://github.com/chartboost/ruff-action): +[`ruff-action`](https://github.com/astral-sh/ruff-action): ```yaml name: Ruff @@ -192,7 +192,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: chartboost/ruff-action@v1 + - uses: astral-sh/ruff-action@v1 ``` ### Configuration diff --git a/docs/integrations.md b/docs/integrations.md index 1b6580ee49243..74691422cee6b 100644 --- a/docs/integrations.md +++ b/docs/integrations.md @@ -25,7 +25,7 @@ jobs: run: ruff check --output-format=github . ``` -Ruff can also be used as a GitHub Action via [`ruff-action`](https://github.com/chartboost/ruff-action). +Ruff can also be used as a GitHub Action via [`ruff-action`](https://github.com/astral-sh/ruff-action). By default, `ruff-action` runs as a pass-fail test to ensure that a given repository doesn't contain any lint rule violations as per its [configuration](configuration.md). @@ -46,13 +46,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: chartboost/ruff-action@v1 + - uses: astral-sh/ruff-action@v1 ``` Alternatively, you can include `ruff-action` as a step in any other workflow file: ```yaml - - uses: chartboost/ruff-action@v1 + - uses: astral-sh/ruff-action@v1 ``` `ruff-action` accepts optional configuration parameters via `with:`, including: @@ -64,7 +64,7 @@ Alternatively, you can include `ruff-action` as a step in any other workflow fil For example, to run `ruff check --select B ./src` using Ruff version `0.0.259`: ```yaml -- uses: chartboost/ruff-action@v1 +- uses: astral-sh/ruff-action@v1 with: version: 0.0.259 args: check --select B