From 0886a4a42c13e5f28abcddf0ca7fca723c2d2082 Mon Sep 17 00:00:00 2001 From: Hojeong Park Date: Sun, 22 Nov 2026 11:16:30 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20PR=20=EC=9D=BC=EA=B4=84=20=EC=8A=B9?= =?UTF-8?q?=EC=9D=B8=C2=B7=EB=B3=91=ED=95=A9=20=EC=9A=94=EC=B2=AD=EC=97=90?= =?UTF-8?q?=20=EC=A0=80=EC=9E=A5=EC=86=8C=20=EC=86=8C=EC=9C=A0=EC=9E=90=20?= =?UTF-8?q?=EC=A0=84=EB=8B=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/management.yaml | 8 ++++---- .github/workflows/wrapup.yaml | 10 ++++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/management.yaml b/.github/workflows/management.yaml index cb53ecf0d3..84a3537397 100644 --- a/.github/workflows/management.yaml +++ b/.github/workflows/management.yaml @@ -48,9 +48,9 @@ jobs: # Build request payload week_input="${{ inputs.week }}" if [ -z "$week_input" ]; then - payload="{\"repo_name\": \"${{ github.event.repository.name }}\", \"excludes\": $excludes}" + payload="{\"repo_owner\": \"${{ github.repository_owner }}\", \"repo_name\": \"${{ github.event.repository.name }}\", \"excludes\": $excludes}" else - payload="{\"repo_name\": \"${{ github.event.repository.name }}\", \"week\": \"Week $week_input\", \"excludes\": $excludes}" + payload="{\"repo_owner\": \"${{ github.repository_owner }}\", \"repo_name\": \"${{ github.event.repository.name }}\", \"week\": \"Week $week_input\", \"excludes\": $excludes}" fi echo "주차 필터: ${week_input:-전체}" @@ -158,9 +158,9 @@ jobs: merge_method="squash" if [ -z "$week_input" ]; then - payload="{\"repo_name\": \"${{ github.event.repository.name }}\", \"merge_method\": \"$merge_method\", \"excludes\": $excludes}" + payload="{\"repo_owner\": \"${{ github.repository_owner }}\", \"repo_name\": \"${{ github.event.repository.name }}\", \"merge_method\": \"$merge_method\", \"excludes\": $excludes}" else - payload="{\"repo_name\": \"${{ github.event.repository.name }}\", \"merge_method\": \"$merge_method\", \"week\": \"Week $week_input\", \"excludes\": $excludes}" + payload="{\"repo_owner\": \"${{ github.repository_owner }}\", \"repo_name\": \"${{ github.event.repository.name }}\", \"merge_method\": \"$merge_method\", \"week\": \"Week $week_input\", \"excludes\": $excludes}" fi echo "머지 방식: $merge_method" diff --git a/.github/workflows/wrapup.yaml b/.github/workflows/wrapup.yaml index 8266132cb5..a437cb48ca 100644 --- a/.github/workflows/wrapup.yaml +++ b/.github/workflows/wrapup.yaml @@ -95,15 +95,16 @@ jobs: env: WEEK_LABEL: ${{ steps.week.outputs.week_label }} EXCLUDES: ${{ steps.excludes.outputs.json }} + REPO_OWNER: ${{ github.repository_owner }} REPO_NAME: ${{ github.event.repository.name }} run: | echo "👍 ${WEEK_LABEL} PR 승인 중..." response=$(curl -sS -X POST "https://github.dalestudy.com/approve-prs" \ -H "Content-Type: application/json" \ - -d "$(jq -nc --arg repo "$REPO_NAME" --arg week "$WEEK_LABEL" \ + -d "$(jq -nc --arg owner "$REPO_OWNER" --arg repo "$REPO_NAME" --arg week "$WEEK_LABEL" \ --argjson excludes "$EXCLUDES" \ - '{repo_name: $repo, week: $week, excludes: $excludes}')") + '{repo_owner: $owner, repo_name: $repo, week: $week, excludes: $excludes}')") echo "$response" | jq '.' echo "response=$(echo "$response" | jq -c '.')" >> $GITHUB_OUTPUT @@ -119,15 +120,16 @@ jobs: env: WEEK_LABEL: ${{ steps.week.outputs.week_label }} EXCLUDES: ${{ steps.excludes.outputs.json }} + REPO_OWNER: ${{ github.repository_owner }} REPO_NAME: ${{ github.event.repository.name }} run: | echo "🚀 ${WEEK_LABEL} PR 병합 중..." response=$(curl -sS -X POST "https://github.dalestudy.com/merge-prs" \ -H "Content-Type: application/json" \ - -d "$(jq -nc --arg repo "$REPO_NAME" --arg week "$WEEK_LABEL" \ + -d "$(jq -nc --arg owner "$REPO_OWNER" --arg repo "$REPO_NAME" --arg week "$WEEK_LABEL" \ --argjson excludes "$EXCLUDES" \ - '{repo_name: $repo, week: $week, merge_method: "squash", excludes: $excludes}')") + '{repo_owner: $owner, repo_name: $repo, week: $week, merge_method: "squash", excludes: $excludes}')") echo "$response" | jq '.' echo "response=$(echo "$response" | jq -c '.')" >> $GITHUB_OUTPUT From 71eb60f0ec9cb1623e9f7a5822dbbc87644c4c29 Mon Sep 17 00:00:00 2001 From: Hojeong Park Date: Fri, 27 Nov 2026 23:16:14 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20Wrapup=EC=9D=84=20=EC=9B=90=EB=B3=B8?= =?UTF-8?q?=20=EC=A0=80=EC=9E=A5=EC=86=8C=EC=97=90=EC=84=9C=EB=A7=8C=20?= =?UTF-8?q?=EC=8B=A4=ED=96=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/wrapup.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/wrapup.yaml b/.github/workflows/wrapup.yaml index a437cb48ca..55907241bb 100644 --- a/.github/workflows/wrapup.yaml +++ b/.github/workflows/wrapup.yaml @@ -26,6 +26,7 @@ on: jobs: wrapup: name: Wrap Up the Week 📦 + if: github.repository == 'DaleStudy/leetcode-study' runs-on: ubuntu-latest permissions: contents: write # 릴리즈 생성