From c4c8d5a3ac1461d0ff887311e890ad18b3019c46 Mon Sep 17 00:00:00 2001 From: dasomel Date: Wed, 24 Jun 2026 00:02:39 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20GitHub=20Actions=20deprecated=20?= =?UTF-8?q?=EC=95=A1=EC=85=98=20=EB=B2=84=EC=A0=84=20=EC=97=85=EA=B7=B8?= =?UTF-8?q?=EB=A0=88=EC=9D=B4=EB=93=9C=20(v3=20=E2=86=92=20v4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 배포 워크플로에서 사용하는 actions/checkout, actions/setup-node가 Node 16 기반 v3로 고정되어 있어 deprecation 경고가 발생한다. Node 20 기반 v4로 올린다. - actions/checkout@v3 -> @v4 (deploy-on-merge·deploy-on-push·deploy-on-schedule·merge-on-pr) - actions/setup-node@v3 -> @v4 (deploy-on-merge·deploy-on-push·deploy-on-schedule) - link-check.yml은 이미 v4 사용 중이라 변경 없음. --- .github/workflows/deploy-on-merge.yaml | 6 +++--- .github/workflows/deploy-on-push.yaml | 6 +++--- .github/workflows/deploy-on-schedule.yaml | 6 +++--- .github/workflows/merge-on-pr.yaml | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy-on-merge.yaml b/.github/workflows/deploy-on-merge.yaml index 2ee6ce0a3..46ab245aa 100644 --- a/.github/workflows/deploy-on-merge.yaml +++ b/.github/workflows/deploy-on-merge.yaml @@ -17,7 +17,7 @@ jobs: # Step 1. Hugo 프로젝트가 있는 hugo-project 브랜치 체크아웃 - name: Checkout the hugo-project branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: hugo-project # hugo 프로젝트가 위치한 브랜치 persist-credentials: false # GitHub 인증 문제 방지 @@ -25,7 +25,7 @@ jobs: # Step 2. main 브랜치에서 markdown 파일들만 체크아웃 - name: Checkout the main branch for markdown files - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: main # main 브랜치에서 파일 가져오기 path: main-md # 임시로 main 브랜치의 markdown 파일을 저장할 위치 @@ -38,7 +38,7 @@ jobs: # Step 4. Node.js 설치 - name: Install Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '18' # 안정적인 최신 버전의 Node.js 설치 diff --git a/.github/workflows/deploy-on-push.yaml b/.github/workflows/deploy-on-push.yaml index 365960983..462a9b13d 100644 --- a/.github/workflows/deploy-on-push.yaml +++ b/.github/workflows/deploy-on-push.yaml @@ -13,7 +13,7 @@ jobs: # Step 1. Hugo 프로젝트가 있는 hugo-project 브랜치 체크아웃 - name: Checkout the hugo-project branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: hugo-project # hugo 프로젝트가 위치한 브랜치 persist-credentials: false # GitHub 인증 문제 방지 @@ -21,7 +21,7 @@ jobs: # Step 2. main 브랜치에서 markdown 파일들만 체크아웃 - name: Checkout the main branch for markdown files - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: main # main 브랜치에서 파일 가져오기 path: main-md # 임시로 main 브랜치의 markdown 파일을 저장할 위치 @@ -34,7 +34,7 @@ jobs: # Step 4. Node.js 설치 - name: Install Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '18' # 안정적인 최신 버전의 Node.js 설치 diff --git a/.github/workflows/deploy-on-schedule.yaml b/.github/workflows/deploy-on-schedule.yaml index 0e17e7b47..95e725a50 100644 --- a/.github/workflows/deploy-on-schedule.yaml +++ b/.github/workflows/deploy-on-schedule.yaml @@ -22,7 +22,7 @@ jobs: # Step 1. Hugo 프로젝트가 있는 hugo-project 브랜치 체크아웃 - name: Checkout the hugo-project branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: hugo-project # hugo 프로젝트가 위치한 브랜치 persist-credentials: false # GitHub 인증 문제 방지 @@ -30,7 +30,7 @@ jobs: # Step 2. main 브랜치에서 markdown 파일들만 체크아웃 - name: Checkout the main branch for markdown files - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: main # main 브랜치에서 파일 가져오기 path: main-md # 임시로 main 브랜치의 markdown 파일을 저장할 위치 @@ -43,7 +43,7 @@ jobs: # Step 4. Node.js 설치 - name: Install Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '18' # 안정적인 최신 버전의 Node.js 설치 diff --git a/.github/workflows/merge-on-pr.yaml b/.github/workflows/merge-on-pr.yaml index 1bf0c8fad..39729bfd1 100644 --- a/.github/workflows/merge-on-pr.yaml +++ b/.github/workflows/merge-on-pr.yaml @@ -48,7 +48,7 @@ jobs: # Step 1. Base Repository의 main 브랜치를 체크아웃 - name: Checkout the main branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: main # 체크아웃 대상 브랜ㅊ; : main fetch-depth: 0 # 깊이 0 → 전체 커밋 히스토리 가져오기