diff --git a/.devcontainer/setup.sh b/.devcontainer/setup.sh index 2732761..71fce97 100755 --- a/.devcontainer/setup.sh +++ b/.devcontainer/setup.sh @@ -6,30 +6,30 @@ PLATFORM=$(uname -m) readonly PLATFORM readonly GIT_HOOKS_PATH='.githooks' -# 1. 필수 환경 변수 검증 +# 1. Validate required environment variables if [[ -z "${SUPER_LINTER_TAG:-}" ]]; then echo 'SUPER_LINTER_TAG is required.' exit 1 fi -# 2. nvm 로드 +# 2. Load nvm export NVM_DIR="/usr/local/share/nvm" if [ -s "$NVM_DIR/nvm.sh" ]; then # shellcheck disable=SC1091 \. "$NVM_DIR/nvm.sh" || true fi -# 3. .nvmrc 기준으로 Node 버전 설치 및 활성화 +# 3. Install and activate the Node version specified in .nvmrc if [ -f .nvmrc ]; then nvm install nvm use fi -# 4. Corepack 활성화 & 최신 npm 11.x 버전 설치 +# 4. Enable Corepack and install the latest npm 11.x version sudo corepack enable npm corepack prepare npm@11 --activate -# 5. 버전 확인 +# 5. Check versions echo "===================================================" echo "npm version: $(npm --version)" echo "node version: $(node --version)" @@ -38,14 +38,14 @@ echo "Platform detected: $PLATFORM" echo "super-linter tag: $SUPER_LINTER_TAG" echo "===================================================" -# 6. 저장소 git hook 경로 설정 +# 6. Configure the repository Git hooks path if git rev-parse --show-toplevel > /dev/null 2>&1; then git config --local core.hooksPath "$GIT_HOOKS_PATH" chmod +x "${GIT_HOOKS_PATH}/pre-push" echo "git hooks path: $(git config --local core.hooksPath)" fi -# 7. super-linter 이미지 다운로드 +# 7. Download the super-linter image docker pull \ --platform linux/amd64 \ "ghcr.io/super-linter/super-linter:$SUPER_LINTER_TAG" diff --git a/.vscode/launch.json b/.vscode/launch.json index 2c3bc9b..74a49a4 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -19,7 +19,7 @@ "runtimeExecutable": "npx", "runtimeArgs": [ "jest", - "--runInBand", // 병렬 실행 막고 디버깅 안정화 + "--runInBand", // Run tests serially in a single process for easier debugging "--watchAll=false" ], "args": [], diff --git a/docs/configuration-guide.ko.md b/docs/configuration-guide.ko.md index cf2c5c4..8a49dfb 100644 --- a/docs/configuration-guide.ko.md +++ b/docs/configuration-guide.ko.md @@ -1,5 +1,7 @@ # 설정 파일 가이드 +[English](/docs/configuration-guide.md) | 한국어 + 이 문서는 설정 파일의 구조와 작성 방법을 설명합니다. 설정 파일은 `.github` 디렉터리에 위치합니다.
diff --git a/docs/configuration-guide.md b/docs/configuration-guide.md index f6cf08a..ec72266 100644 --- a/docs/configuration-guide.md +++ b/docs/configuration-guide.md @@ -1,5 +1,7 @@ # Configuration Guide +English | [한국어](/docs/configuration-guide.ko.md) + This document explains the structure of the configuration file and how to write it. The configuration file is located in the `.github` directory. diff --git a/docs/dev/policy-rule-evaluation.ko.md b/docs/dev/policy-rule-evaluation.ko.md index f9821b5..b57cc50 100644 --- a/docs/dev/policy-rule-evaluation.ko.md +++ b/docs/dev/policy-rule-evaluation.ko.md @@ -1,5 +1,7 @@ # 규칙 평가 정책 +[English](/docs/dev/policy-rule-evaluation.md) | 한국어 + 평가 단계는 설정 파일에 작성된 규칙(`Rule`)들을 평가하여 레이블을 추가해야 할지, 제거해야 할지, 유지해야 할지를 결정한다. diff --git a/docs/dev/policy-rule-evaluation.md b/docs/dev/policy-rule-evaluation.md index 2af6540..b229085 100644 --- a/docs/dev/policy-rule-evaluation.md +++ b/docs/dev/policy-rule-evaluation.md @@ -1,5 +1,7 @@ # Rule Evaluation Policy +English | [한국어](/docs/dev/policy-rule-evaluation.ko.md) + The evaluation step evaluates the configured rules (`Rule`) and determines whether each label should be added, removed, or kept.