From 70ccc253ded7d2365aae5614746ff43ea4ce9c32 Mon Sep 17 00:00:00 2001 From: Changwan <47740690+WooWan@users.noreply.github.com> Date: Sun, 28 Jul 2024 20:50:30 +0900 Subject: [PATCH] Chore/fix pr labeler (#16) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: pr-labeler checkout step 추가 * fix: labeler config path 절대 경로로 변경 * chore: config path 절대 경로로 변경 * chore: labeler로 파일명 오타 수정 --- .github/{pr-labler-config.yaml => pr-labeler-config.yaml} | 0 .github/workflows/{pr-labler.yaml => pr-labeler.yaml} | 6 +++++- 2 files changed, 5 insertions(+), 1 deletion(-) rename .github/{pr-labler-config.yaml => pr-labeler-config.yaml} (100%) rename .github/workflows/{pr-labler.yaml => pr-labeler.yaml} (63%) diff --git a/.github/pr-labler-config.yaml b/.github/pr-labeler-config.yaml similarity index 100% rename from .github/pr-labler-config.yaml rename to .github/pr-labeler-config.yaml diff --git a/.github/workflows/pr-labler.yaml b/.github/workflows/pr-labeler.yaml similarity index 63% rename from .github/workflows/pr-labler.yaml rename to .github/workflows/pr-labeler.yaml index 0a67f04..228320c 100644 --- a/.github/workflows/pr-labler.yaml +++ b/.github/workflows/pr-labeler.yaml @@ -9,7 +9,11 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 + with: + sparse-checkout: | + .github - uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" - configuration-path: "./.github/pr-labeler-config.yaml" + configuration-path: ".github/pr-labeler-config.yaml"