From 678ef7a20f51c8dc28592b60133f4242768d974d Mon Sep 17 00:00:00 2001 From: Roki Date: Mon, 2 Sep 2024 23:36:29 +0900 Subject: [PATCH 1/2] test for pr-labeler --- .github/workflows/pr-labeler.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml index 80ee5139..020b8402 100644 --- a/.github/workflows/pr-labeler.yml +++ b/.github/workflows/pr-labeler.yml @@ -1,7 +1,8 @@ name: CI-pr-label on: pull_request_target: - types: [opened] + types: + - opened jobs: pr-labeler: runs-on: ubuntu-latest From a24a3e504e8e5d526f435c2da94a66c1c6cbc851 Mon Sep 17 00:00:00 2001 From: Roki Date: Mon, 2 Sep 2024 23:44:53 +0900 Subject: [PATCH 2/2] fix pr-labeler action --- .github/workflows/pr-labeler.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml index 020b8402..5e36d52b 100644 --- a/.github/workflows/pr-labeler.yml +++ b/.github/workflows/pr-labeler.yml @@ -4,11 +4,14 @@ on: types: - opened jobs: - pr-labeler: + label: + permissions: + contents: read + pull-requests: write runs-on: ubuntu-latest + timeout-minutes: 5 steps: - - uses: TimonVS/pr-labeler-action@v5 + - uses: actions/labeler@v5 with: configuration-path: .github/pr-labeler.yml - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +