From f750a0b826f1154c9c9be7872889caf9b21498e7 Mon Sep 17 00:00:00 2001 From: HC-kang Date: Mon, 9 Dec 2024 19:22:17 +0900 Subject: [PATCH 01/11] chore: fix for integration filename test --- .github/workflows/integration.yaml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 3a5371562..15b4e4174 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -91,17 +91,14 @@ jobs: echo "## 파일명 규칙 위반" >> $GITHUB_STEP_SUMMARY for file in $files; do - if [ -f "$file" ]; then + # 파일명만 추출 (경로 제외) + filename=$(basename "$file") - # 파일명만 추출 (경로 제외) - filename=$(basename "$file") - - # 파일명이 GitHub계정명인지 확인 - shopt -s nocasematch - if [[ ! "$filename" = "$pr_author"* ]]; then - echo "- $file" >> $GITHUB_STEP_SUMMARY - success=false - fi + # 파일명이 GitHub계정명인지 확인 + shopt -s nocasematch + if [[ ! "$filename" = "$pr_author"* ]]; then + echo "- $file" >> $GITHUB_STEP_SUMMARY + success=false fi done From 1925aa33e68843039321da4e22d6821c99571142 Mon Sep 17 00:00:00 2001 From: HC-kang Date: Mon, 9 Dec 2024 20:08:58 +0900 Subject: [PATCH 02/11] test: add file 1 --- alien-dictionary/HC-kang.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 alien-dictionary/HC-kang.py diff --git a/alien-dictionary/HC-kang.py b/alien-dictionary/HC-kang.py new file mode 100644 index 000000000..75d9766db --- /dev/null +++ b/alien-dictionary/HC-kang.py @@ -0,0 +1 @@ +print('hello world') From 53567aa603a9d6ee859f66d2fcee7ea1e37c5e26 Mon Sep 17 00:00:00 2001 From: HC-kang Date: Mon, 9 Dec 2024 20:10:23 +0900 Subject: [PATCH 03/11] test: add comment to file1 --- alien-dictionary/HC-kang.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/alien-dictionary/HC-kang.py b/alien-dictionary/HC-kang.py index 75d9766db..9b8ed8879 100644 --- a/alien-dictionary/HC-kang.py +++ b/alien-dictionary/HC-kang.py @@ -1 +1,4 @@ +''' +some comments +''' print('hello world') From d565f5ba361779a2c2d77c8e75bc769681dd83f9 Mon Sep 17 00:00:00 2001 From: HC-kang Date: Mon, 9 Dec 2024 20:11:11 +0900 Subject: [PATCH 04/11] test: add file 2 --- best-time-to-buy-and-sell-stock/HC-kang.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 best-time-to-buy-and-sell-stock/HC-kang.py diff --git a/best-time-to-buy-and-sell-stock/HC-kang.py b/best-time-to-buy-and-sell-stock/HC-kang.py new file mode 100644 index 000000000..9b8ed8879 --- /dev/null +++ b/best-time-to-buy-and-sell-stock/HC-kang.py @@ -0,0 +1,4 @@ +''' +some comments +''' +print('hello world') From 893ed31bb659443fa0406566167123555aab08c6 Mon Sep 17 00:00:00 2001 From: HC-kang Date: Mon, 9 Dec 2024 20:12:32 +0900 Subject: [PATCH 05/11] test: add file3 and remove docs from file 1 --- alien-dictionary/HC-kang.py | 3 --- contains-duplicate/hc-kang.py | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) create mode 100644 contains-duplicate/hc-kang.py diff --git a/alien-dictionary/HC-kang.py b/alien-dictionary/HC-kang.py index 9b8ed8879..75d9766db 100644 --- a/alien-dictionary/HC-kang.py +++ b/alien-dictionary/HC-kang.py @@ -1,4 +1 @@ -''' -some comments -''' print('hello world') diff --git a/contains-duplicate/hc-kang.py b/contains-duplicate/hc-kang.py new file mode 100644 index 000000000..75d9766db --- /dev/null +++ b/contains-duplicate/hc-kang.py @@ -0,0 +1 @@ +print('hello world') From 433827dd3e07d9f2552c77bdaa0b4bf37b657f1d Mon Sep 17 00:00:00 2001 From: HC-kang Date: Mon, 9 Dec 2024 20:13:27 +0900 Subject: [PATCH 06/11] test: add wrong file --- contains-duplicate/h.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 contains-duplicate/h.py diff --git a/contains-duplicate/h.py b/contains-duplicate/h.py new file mode 100644 index 000000000..75d9766db --- /dev/null +++ b/contains-duplicate/h.py @@ -0,0 +1 @@ +print('hello world') From 85dabf4914f75b765da0e44ac0dea5b9bf98b32d Mon Sep 17 00:00:00 2001 From: HC-kang Date: Mon, 9 Dec 2024 20:15:06 +0900 Subject: [PATCH 07/11] test: rename wrong file --- contains-duplicate/{h.py => hc-kang-some.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename contains-duplicate/{h.py => hc-kang-some.py} (100%) diff --git a/contains-duplicate/h.py b/contains-duplicate/hc-kang-some.py similarity index 100% rename from contains-duplicate/h.py rename to contains-duplicate/hc-kang-some.py From 831b238643579b3aec7f0ab1128e1d5768920ed8 Mon Sep 17 00:00:00 2001 From: HC-kang Date: Mon, 9 Dec 2024 20:16:37 +0900 Subject: [PATCH 08/11] test: remove python and add js --- alien-dictionary/HC-kang.py | 1 - best-time-to-buy-and-sell-stock/HC-kang.js | 1 + contains-duplicate/hc-kang-some.py | 1 - contains-duplicate/hc-kang.py | 1 - 4 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 alien-dictionary/HC-kang.py create mode 100644 best-time-to-buy-and-sell-stock/HC-kang.js delete mode 100644 contains-duplicate/hc-kang-some.py delete mode 100644 contains-duplicate/hc-kang.py diff --git a/alien-dictionary/HC-kang.py b/alien-dictionary/HC-kang.py deleted file mode 100644 index 75d9766db..000000000 --- a/alien-dictionary/HC-kang.py +++ /dev/null @@ -1 +0,0 @@ -print('hello world') diff --git a/best-time-to-buy-and-sell-stock/HC-kang.js b/best-time-to-buy-and-sell-stock/HC-kang.js new file mode 100644 index 000000000..ec10f3e9d --- /dev/null +++ b/best-time-to-buy-and-sell-stock/HC-kang.js @@ -0,0 +1 @@ +console.log('hi'); diff --git a/contains-duplicate/hc-kang-some.py b/contains-duplicate/hc-kang-some.py deleted file mode 100644 index 75d9766db..000000000 --- a/contains-duplicate/hc-kang-some.py +++ /dev/null @@ -1 +0,0 @@ -print('hello world') diff --git a/contains-duplicate/hc-kang.py b/contains-duplicate/hc-kang.py deleted file mode 100644 index 75d9766db..000000000 --- a/contains-duplicate/hc-kang.py +++ /dev/null @@ -1 +0,0 @@ -print('hello world') From b4d3208e3dfb64c14249537ddafad0b2d07f9534 Mon Sep 17 00:00:00 2001 From: HC-kang Date: Mon, 9 Dec 2024 20:18:44 +0900 Subject: [PATCH 09/11] test: add docs to js --- best-time-to-buy-and-sell-stock/HC-kang.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/best-time-to-buy-and-sell-stock/HC-kang.js b/best-time-to-buy-and-sell-stock/HC-kang.js index ec10f3e9d..6b0568a84 100644 --- a/best-time-to-buy-and-sell-stock/HC-kang.js +++ b/best-time-to-buy-and-sell-stock/HC-kang.js @@ -1 +1,4 @@ +/** + * some document here + */ console.log('hi'); From 3bae012ad62214510bb791b1e20b9dcd3ea23fc2 Mon Sep 17 00:00:00 2001 From: HC-kang Date: Mon, 9 Dec 2024 20:19:53 +0900 Subject: [PATCH 10/11] test: js empty --- best-time-to-buy-and-sell-stock/HC-kang.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/best-time-to-buy-and-sell-stock/HC-kang.js b/best-time-to-buy-and-sell-stock/HC-kang.js index 6b0568a84..e69de29bb 100644 --- a/best-time-to-buy-and-sell-stock/HC-kang.js +++ b/best-time-to-buy-and-sell-stock/HC-kang.js @@ -1,4 +0,0 @@ -/** - * some document here - */ -console.log('hi'); From e58929266141265021a7567ec69792a142a1a598 Mon Sep 17 00:00:00 2001 From: HC-kang Date: Mon, 9 Dec 2024 20:21:16 +0900 Subject: [PATCH 11/11] test: remove all test files --- best-time-to-buy-and-sell-stock/HC-kang.js | 0 best-time-to-buy-and-sell-stock/HC-kang.py | 4 ---- 2 files changed, 4 deletions(-) delete mode 100644 best-time-to-buy-and-sell-stock/HC-kang.js delete mode 100644 best-time-to-buy-and-sell-stock/HC-kang.py diff --git a/best-time-to-buy-and-sell-stock/HC-kang.js b/best-time-to-buy-and-sell-stock/HC-kang.js deleted file mode 100644 index e69de29bb..000000000 diff --git a/best-time-to-buy-and-sell-stock/HC-kang.py b/best-time-to-buy-and-sell-stock/HC-kang.py deleted file mode 100644 index 9b8ed8879..000000000 --- a/best-time-to-buy-and-sell-stock/HC-kang.py +++ /dev/null @@ -1,4 +0,0 @@ -''' -some comments -''' -print('hello world')