From 01735236cc8d56db0eb6c3eab637ab95169dbb74 Mon Sep 17 00:00:00 2001 From: GulSam00 Date: Mon, 13 Apr 2026 00:28:28 +0900 Subject: [PATCH 1/2] =?UTF-8?q?refactor=20:=20autoTagSong=20JSON=20?= =?UTF-8?q?=EC=B6=9C=EB=A0=A5=20=ED=98=95=EC=8B=9D=20=ED=94=84=EB=A1=AC?= =?UTF-8?q?=ED=94=84=ED=8A=B8=20=EB=AA=85=EC=8B=9C=20(#188)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/crawling/src/utils/getSongTag.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/crawling/src/utils/getSongTag.ts b/packages/crawling/src/utils/getSongTag.ts index e8bb80d..e73b261 100644 --- a/packages/crawling/src/utils/getSongTag.ts +++ b/packages/crawling/src/utils/getSongTag.ts @@ -74,6 +74,13 @@ export const autoTagSong = async ( - Language Slot (100-199): EXACTLY 1 tag. - Genre Slot (200-299): EXACTLY 1 tag. - Origin Slot (300-399): 1 to 2 tags, sorted by relevance. + - **Return the final result strictly in JSON format.** + + [Output Instructions] + - **Combine all selected IDs into a single flat array.** + - **The final output must be a JSON object with a single key "tag_ids".** + - **Example: {"tag_ids":}** + - **Do not use keys like "language", "genre", or "origin" in the JSON.** [Contextual Hints] ${languageHints} From e210066d378d85305f479886265ca74ba46d5e93 Mon Sep 17 00:00:00 2001 From: GulSam00 Date: Mon, 13 Apr 2026 00:28:34 +0900 Subject: [PATCH 2/2] =?UTF-8?q?chore=20:=20tagging=20=ED=81=AC=EB=A1=A0=20?= =?UTF-8?q?=EC=8A=A4=EC=BC=80=EC=A4=84=20=EC=9D=BC=EC=8B=9C=20=EC=A0=95?= =?UTF-8?q?=EC=A7=80=20(#188)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/tagging_song.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tagging_song.yml b/.github/workflows/tagging_song.yml index 07c6e72..a9a92d3 100644 --- a/.github/workflows/tagging_song.yml +++ b/.github/workflows/tagging_song.yml @@ -1,9 +1,9 @@ name: Tagging Songs -on: - schedule: - - cron: "0 10 * * *" # 한국 시간 19:00 실행 (UTC+9 → UTC 10:00) - workflow_dispatch: +# on: +# schedule: +# - cron: "0 10 * * *" # 한국 시간 19:00 실행 (UTC+9 → UTC 10:00) +# workflow_dispatch: permissions: contents: write # push 권한을 위해 필요