Skip to content

Commit 2411600

Browse files
committed
feat: enable CodeRabbit (AI Code Reviews)
1 parent 79d1df3 commit 2411600

File tree

4 files changed

+9
-13
lines changed

4 files changed

+9
-13
lines changed

.github/workflows/lint.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,12 @@ jobs:
2424
ruff format
2525
# run the linters
2626
ruff check .
27-
# shell-lint
28-
- name: shellcheck
29-
uses: reviewdog/action-shellcheck@v1
30-
with:
31-
reporter: github-check
3227
# Dockerfile lint
3328
- name: hadolint
3429
uses: reviewdog/action-hadolint@v1
3530
with:
3631
hadolint_ignore: DL3007 SC2114
3732
reporter: github-check
38-
# actionlint
39-
- name: actionlint
40-
uses: reviewdog/action-actionlint@v1
41-
with:
42-
reporter: github-check
4333

4434
# misspell
4535
- name: misspell

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
[English](README.md) | [中文](README_zh-Hans.md) | [日本語](README_ja.md)
44

5+
![CodeRabbit Pull Request Reviews](https://img.shields.io/coderabbit/prs/github/IceCodeNew/anata-no-minato?utm_source=oss&utm_medium=github&utm_campaign=IceCodeNew%2Fanata-no-minato&labelColor=171717&color=FF570A&link=https%3A%2F%2Fcoderabbit.ai&label=CodeRabbit+Reviews)
6+
57
This project is an attempt to packaging the [Ananta](https://github.com/cwt/ananta) with its runtime into a minimum, hardened docker image, while also providing a convenient way to use it.
68
It is recommended to bind mount the `${HOME}/.ssh/` into the container, and the container will automatically generate `hosts.csv` based on `~/.ssh/config` for you.
79

@@ -13,7 +15,7 @@ My local disk already has too many git repositories named `docker-XXX`. Since I
1315
`Ananta` doesn't align with Chinese or Japanese pronunciation conventions. By omitting one 'n' it becomes the Japanese word `Anata` (あなた), which means "you" and gives me tab completion after typing just four letters.
1416
Meanwhile, `Minato` (みなと) in Japanese means "harbor" - a natural association with Docker containers. When combined, these form the title of a classic Japanese enka song. Please take a listen to it ;-)
1517

16-
[![](https://i.ytimg.com/vi/sCRvjlTX8Fw/maxresdefault.jpg)](https://www.youtube.com/embed/sCRvjlTX8Fw)
18+
[![あなたのみなと~いい夫婦~ 松前ひろ子(2001)](https://i.ytimg.com/vi/sCRvjlTX8Fw/maxresdefault.jpg)](https://youtu.be/sCRvjlTX8Fw)
1719

1820
## How to start
1921

README_ja.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
[English](README.md) | [中文](README_zh-Hans.md) | [日本語](README_ja.md)
44

5+
![CodeRabbit Pull Request Reviews](https://img.shields.io/coderabbit/prs/github/IceCodeNew/anata-no-minato?utm_source=oss&utm_medium=github&utm_campaign=IceCodeNew%2Fanata-no-minato&labelColor=171717&color=FF570A&link=https%3A%2F%2Fcoderabbit.ai&label=CodeRabbit+Reviews)
6+
57
このプロジェクトは、[Ananta](https://github.com/cwt/ananta) とその完全なランタイム環境を内包した状態で、最小限のコンテナイメージを作成したものです。セキュリティを強化しつつ、不便さを感じさせないよう自動化スクリプトを導入し、操作性を向上させました。
68
利用時には `${HOME}/.ssh/` ディレクトリをコンテナ内にマウントすることを推奨します。コンテナは `~/.ssh/config` に基づいて `hosts.csv` を自動生成します。
79

@@ -13,7 +15,7 @@
1315
「ananta」は、中国語や日本語話者にとってあまり馴染みのない発音ですが、「n」を一文字省略すると、日本語の「anata(あなた)」に似た読みになることに気付きました。これにより、4 文字目まで入力すればこのプロジェクトに移動できるようになります。
1416
「minato(港)」は、コンテナ(Docker)が港に停泊する船のように見えることから着想を得たものです。この二つの言葉を組み合わせた結果、日本で広く知られる某有名演歌のタイトルになりました。ぜひご堪能ください:
1517

16-
[![](https://i.ytimg.com/vi/sCRvjlTX8Fw/maxresdefault.jpg)](https://www.youtube.com/embed/sCRvjlTX8Fw)
18+
[![あなたのみなと~いい夫婦~ 松前ひろ子(2001)](https://i.ytimg.com/vi/sCRvjlTX8Fw/maxresdefault.jpg)](https://youtu.be/sCRvjlTX8Fw)
1719

1820
## 使い始め方
1921

README_zh-Hans.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
[English](README.md) | [中文](README_zh-Hans.md) | [日本語](README_ja.md)
44

5+
![CodeRabbit Pull Request Reviews](https://img.shields.io/coderabbit/prs/github/IceCodeNew/anata-no-minato?utm_source=oss&utm_medium=github&utm_campaign=IceCodeNew%2Fanata-no-minato&labelColor=171717&color=FF570A&link=https%3A%2F%2Fcoderabbit.ai&label=CodeRabbit+Reviews)
6+
57
这个项目将 [Ananta](https://github.com/cwt/ananta) 及其所需的完整运行时打包到一个极简的、安全加固过的容器镜像中,并带上了一些自动化脚本来简化使用体验。
68
在使用该项目时,推荐将 `${HOME}/.ssh/` 挂载到容器中,容器会自动根据 `~/.ssh/config` 生成 `hosts.csv` 文件。
79

@@ -13,7 +15,7 @@
1315
`ananta` 这个名字不是中文或日文讲话者习惯的发音,恰好省略掉一个 `n` 以后这个词就成了日语的 `anata`,这样我敲到第四个字母的时候就能跳转到这个项目了。
1416
`minato` 这个词在日语中可以表示“港口”的意思,可以从 docker 联想过来。这样一组合就得到了一首日本经典演歌的歌名。敬请欣赏:
1517

16-
[![](https://i.ytimg.com/vi/sCRvjlTX8Fw/maxresdefault.jpg)](https://www.youtube.com/embed/sCRvjlTX8Fw)
18+
[![あなたのみなと~いい夫婦~ 松前ひろ子(2001)](https://i.ytimg.com/vi/sCRvjlTX8Fw/maxresdefault.jpg)](https://youtu.be/sCRvjlTX8Fw)
1719

1820
## 如何开始
1921

0 commit comments

Comments
 (0)