From 062e05c9a563125f4d5fdc8c2a42e7cd85b1ae29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Wed, 31 Jul 2024 11:27:35 +0200 Subject: [PATCH] Update issue and PR labeler Upstream github/issue-labeler meanwhile supports labelling PRs as well. Not using an outdated fork means removing technical debt. --- .github/labeler-config.yml | 2 +- .github/workflows/labeler.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/labeler-config.yml b/.github/labeler-config.yml index d969204b..ea1c0fe2 100644 --- a/.github/labeler-config.yml +++ b/.github/labeler-config.yml @@ -1,3 +1,3 @@ -# add 'aws-λ-extension' label to all new issues +# add 'aws-λ-extension' label to all new issues and PRs aws-λ-extension: - '.*' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index d132d23a..61c80cc7 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,4 +1,4 @@ -name: "Issue Labeler" +name: "Issue+PR Labeler" on: issues: types: [opened] @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Add aws-λ-extension label - uses: AlexanderWert/issue-labeler@v2.3 + uses: github/issue-labeler@v3.4 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" configuration-path: .github/labeler-config.yml @@ -38,7 +38,7 @@ jobs: echo "::debug::isExcluded: ${{ steps.checkUserMember.outputs.isExcluded }}" - name: Add community and triage labels if: steps.checkUserMember.outputs.isTeamMember != 'true' && steps.checkUserMember.outputs.isExcluded != 'true' - uses: AlexanderWert/issue-labeler@v2.3 + uses: github/issue-labeler@v3.4 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" configuration-path: .github/community-label.yml