From 4113c147d140239ab0e4506eed08365067f93ee7 Mon Sep 17 00:00:00 2001 From: mongolyy Date: Wed, 17 Jan 2024 23:42:18 +0900 Subject: [PATCH] docs: add third-party action --- .../docs/recipes/continuous-integration.mdx | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/website/src/content/docs/recipes/continuous-integration.mdx b/website/src/content/docs/recipes/continuous-integration.mdx index 9efaf2cec422..456f2241a6b2 100644 --- a/website/src/content/docs/recipes/continuous-integration.mdx +++ b/website/src/content/docs/recipes/continuous-integration.mdx @@ -30,3 +30,27 @@ jobs: - name: Run Biome run: biome ci . ``` + +### Third-party actions + +These are actions maintained by other communities, that you use in your runner: + +- [reviewdog-action-biome](https://github.com/marketplace/actions/run-biome-with-reviewdog): run Biome with reviewdog and make comments and commit suggestions on the pull request. + +```yaml title="pull_request.yml" +name: reviewdog +on: [pull_request] +jobs: + biome: + name: runner / Biome + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + steps: + - uses: actions/checkout@v4 + - uses: mongolyy/reviewdog-action-biome@v0 + with: + github_token: ${{ secrets.github_token }} + reporter: github-pr-review +```