From 0c2b774714858bd55c02a2fc77e67295ce2fc7d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=84=A0=EC=9A=B0?= Date: Thu, 30 Jan 2025 08:01:44 +0900 Subject: [PATCH] Add spare-checkout - Related issue: https://github.com/actions/labeler/issues/814#issuecomment-2478374811 --- .github/workflows/labeler.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 2f5bf0890..9e799a80f 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -11,6 +11,11 @@ jobs: pull-requests: write steps: - - uses: actions/labeler@v4 + - uses: actions/checkout@v4 + with: + sparse-checkout: | + .github + - uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" + configuration-path: '.github/labeler.yml'