Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .devcontainer/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand All @@ -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"
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"runtimeExecutable": "npx",
"runtimeArgs": [
"jest",
"--runInBand", // ๋ณ‘๋ ฌ ์‹คํ–‰ ๋ง‰๊ณ  ๋””๋ฒ„๊น… ์•ˆ์ •ํ™”
"--runInBand", // Run tests serially in a single process for easier debugging
"--watchAll=false"
],
"args": [],
Expand Down
2 changes: 2 additions & 0 deletions docs/configuration-guide.ko.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# ์„ค์ • ํŒŒ์ผ ๊ฐ€์ด๋“œ

[English](/docs/configuration-guide.md) | ํ•œ๊ตญ์–ด

์ด ๋ฌธ์„œ๋Š” ์„ค์ • ํŒŒ์ผ์˜ ๊ตฌ์กฐ์™€ ์ž‘์„ฑ ๋ฐฉ๋ฒ•์„ ์„ค๋ช…ํ•ฉ๋‹ˆ๋‹ค. ์„ค์ • ํŒŒ์ผ์€ `.github` ๋””๋ ‰ํ„ฐ๋ฆฌ์— ์œ„์น˜ํ•ฉ๋‹ˆ๋‹ค.

<br>
Expand Down
2 changes: 2 additions & 0 deletions docs/configuration-guide.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 2 additions & 0 deletions docs/dev/policy-rule-evaluation.ko.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# ๊ทœ์น™ ํ‰๊ฐ€ ์ •์ฑ…

[English](/docs/dev/policy-rule-evaluation.md) | ํ•œ๊ตญ์–ด

ํ‰๊ฐ€ ๋‹จ๊ณ„๋Š” ์„ค์ • ํŒŒ์ผ์— ์ž‘์„ฑ๋œ ๊ทœ์น™(`Rule`)๋“ค์„ ํ‰๊ฐ€ํ•˜์—ฌ ๋ ˆ์ด๋ธ”์„ ์ถ”๊ฐ€ํ•ด์•ผ ํ• ์ง€, ์ œ๊ฑฐํ•ด์•ผ ํ• ์ง€, ์œ ์ง€ํ•ด์•ผ ํ• ์ง€๋ฅผ
๊ฒฐ์ •ํ•œ๋‹ค.

Expand Down
2 changes: 2 additions & 0 deletions docs/dev/policy-rule-evaluation.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
Loading