diff --git a/.github/pr-labeler.yml b/.github/pr-labeler.yml index ec9a24dd09..b319f71c2f 100644 --- a/.github/pr-labeler.yml +++ b/.github/pr-labeler.yml @@ -1,3 +1,11 @@ -enhancement: ['feature:*', 'feat:*'] -bug: ['fix:*'] -breaking-change: ['*!*'] +version: 1 +labels: + - label: "enhancement" + title: "feat:*" + - label: "enhancement" + title: "feature:*" + - label: "bug" + title: "fix:*" + - label: "breaking-change" + title: "*!*" + diff --git a/.github/workflows/pull-request-lint.yml b/.github/workflows/pull-request-lint.yml index 102c553a83..cb94bea7f3 100644 --- a/.github/workflows/pull-request-lint.yml +++ b/.github/workflows/pull-request-lint.yml @@ -65,7 +65,8 @@ jobs: contents: read pull-requests: write steps: - - uses: TimonVS/pr-labeler-action@v4 + - uses: srvaroa/labeler@1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - configuration-path: .github/pr-labeler.yml + config_path: .github/pr-labeler.yml