From 2f401d2d6203afb5d5faf4aa5194c7242cc6f5b8 Mon Sep 17 00:00:00 2001 From: Daniel N <2color@users.noreply.github.com> Date: Mon, 20 Jan 2025 10:36:28 +0100 Subject: [PATCH 1/4] ci: review prs with languagetool --- .github/workflows/reveiwdog-languagetool.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/reveiwdog-languagetool.yml diff --git a/.github/workflows/reveiwdog-languagetool.yml b/.github/workflows/reveiwdog-languagetool.yml new file mode 100644 index 000000000..eeabadeb3 --- /dev/null +++ b/.github/workflows/reveiwdog-languagetool.yml @@ -0,0 +1,19 @@ +name: Check Spelling +on: + pull_request: + paths: + - 'docs/**/*.md' +jobs: + languagetool: + name: languagetool + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Check Spelling + uses: reviewdog/action-languagetool@v1 + with: + github_token: ${{ secrets.github_token }} + reporter: github-pr-review + level: info + patterns: 'docs/**/*.md' + From 5152f41bb394d0e0bbab920d9703c3e4ce382d3a Mon Sep 17 00:00:00 2001 From: Daniel N <2color@users.noreply.github.com> Date: Tue, 21 Jan 2025 10:50:48 +0100 Subject: [PATCH 2/4] fix: use forked langauge tool action --- .github/workflows/reveiwdog-languagetool.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reveiwdog-languagetool.yml b/.github/workflows/reveiwdog-languagetool.yml index eeabadeb3..bfeff3c9b 100644 --- a/.github/workflows/reveiwdog-languagetool.yml +++ b/.github/workflows/reveiwdog-languagetool.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Check Spelling - uses: reviewdog/action-languagetool@v1 + uses: 2color/action-languagetool@fix-text with: github_token: ${{ secrets.github_token }} reporter: github-pr-review From cb83488e47aa03bdb783f2fc2d7f761784179632 Mon Sep 17 00:00:00 2001 From: Daniel N <2color@users.noreply.github.com> Date: Tue, 21 Jan 2025 10:51:55 +0100 Subject: [PATCH 3/4] edit problematic file --- docs/reference/kubo/cli.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/reference/kubo/cli.md b/docs/reference/kubo/cli.md index 396859ddd..660ca1e6d 100644 --- a/docs/reference/kubo/cli.md +++ b/docs/reference/kubo/cli.md @@ -10,7 +10,7 @@ This document was autogenerated from CLI help text in [kubo 0.32.1](https://gith For issues and support, check out the [generate-cli-docs.sh](https://github.com/ipfs/ipfs-docs/blob/main/docs/reference/kubo/generate-cli-docs.sh) script on GitHub. ::: - + IPFS can run in either _online_ or _offline_ mode. Online mode is when you have IPFS running separately as a daemon process. If you do not have an IPFS daemon running, you are in offline mode. Some commands, like `ipfs swarm peers`, are only supported when online. @@ -5860,4 +5860,3 @@ DESCRIPTION ``` - From ea9d307a83b65fdf70782bcf198ee8aa9c50a912 Mon Sep 17 00:00:00 2001 From: Daniel N <2color@users.noreply.github.com> Date: Tue, 21 Jan 2025 14:41:09 +0100 Subject: [PATCH 4/4] fix: use offical action now that pr has been merged --- .github/workflows/reveiwdog-languagetool.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reveiwdog-languagetool.yml b/.github/workflows/reveiwdog-languagetool.yml index bfeff3c9b..eeabadeb3 100644 --- a/.github/workflows/reveiwdog-languagetool.yml +++ b/.github/workflows/reveiwdog-languagetool.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Check Spelling - uses: 2color/action-languagetool@fix-text + uses: reviewdog/action-languagetool@v1 with: github_token: ${{ secrets.github_token }} reporter: github-pr-review