From 6a1bf371121808d0b4647e8221401772ca232625 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 29 Jun 2024 21:46:43 +0200 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Update=20klaasnicolaas/act?= =?UTF-8?q?ion-pr-labels=20action=20to=20v2=20(#157)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ⬆️ Update klaasnicolaas/action-pr-labels action to v2 * Update PR labels workflow and remove optional parameters --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Klaas Schoute --- .github/workflows/pr-labels.yaml | 6 ++---- template/.github/workflows/pr-labels.yaml | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr-labels.yaml b/.github/workflows/pr-labels.yaml index ad42b16..fa69d61 100644 --- a/.github/workflows/pr-labels.yaml +++ b/.github/workflows/pr-labels.yaml @@ -3,7 +3,7 @@ name: PR Labels # yamllint disable-line rule:truthy on: - pull_request: + pull_request_target: types: - opened - labeled @@ -17,10 +17,8 @@ jobs: runs-on: ubuntu-latest steps: - name: 🏷 Verify PR has a valid label - uses: klaasnicolaas/action-pr-labels@v1.0.0 + uses: klaasnicolaas/action-pr-labels@v2.0.0 with: - github-token: ${{ secrets.GITHUB_TOKEN }} - pr-number: ${{ github.event.pull_request.number }} valid-labels: >- breaking-change, bugfix, documentation, enhancement, sync, refactor, performance, new-feature, maintenance, ci, dependencies diff --git a/template/.github/workflows/pr-labels.yaml b/template/.github/workflows/pr-labels.yaml index ad42b16..95feaab 100644 --- a/template/.github/workflows/pr-labels.yaml +++ b/template/.github/workflows/pr-labels.yaml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 🏷 Verify PR has a valid label - uses: klaasnicolaas/action-pr-labels@v1.0.0 + uses: klaasnicolaas/action-pr-labels@v2.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} pr-number: ${{ github.event.pull_request.number }}