From c2ca09ca3704298fb688e9de785308d69d6f8a8e Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Sat, 29 Jun 2024 23:38:43 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20synced=20file(s)=20with=20klaasn?= =?UTF-8?q?icolaas/github-config=20(#159)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 🔄 synced local 'template/.github/' with remote 'github/' * 🔄 synced local '.github/workflows/' with remote 'github/workflows/' * Remove old file --- .github/workflows/{labels.yaml => sync-labels.yaml} | 0 template/.github/workflows/pr-labels.yaml | 4 +--- 2 files changed, 1 insertion(+), 3 deletions(-) rename .github/workflows/{labels.yaml => sync-labels.yaml} (100%) diff --git a/.github/workflows/labels.yaml b/.github/workflows/sync-labels.yaml similarity index 100% rename from .github/workflows/labels.yaml rename to .github/workflows/sync-labels.yaml diff --git a/template/.github/workflows/pr-labels.yaml b/template/.github/workflows/pr-labels.yaml index 95feaab..fa69d61 100644 --- a/template/.github/workflows/pr-labels.yaml +++ b/template/.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 @@ -19,8 +19,6 @@ jobs: - name: 🏷 Verify PR has a valid label 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