From c1dfbc1ebf2970b54874bb79f9927a0fe9c7f876 Mon Sep 17 00:00:00 2001 From: vince Date: Fri, 30 Aug 2024 13:08:24 +0800 Subject: [PATCH] fix: ci error [skip ci] (#4280) --- .github/labeler.yml | 16 ---------------- .github/workflows/labeler.yml | 22 ---------------------- 2 files changed, 38 deletions(-) delete mode 100644 .github/labeler.yml delete mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml deleted file mode 100644 index 7cef0938..00000000 --- a/.github/labeler.yml +++ /dev/null @@ -1,16 +0,0 @@ -# Add 'feature' label to any PR where the head branch name starts with `feature` or has a `feature` section in the name -feature: - - head-branch: ["^feat", "feat"] - -bug: - - head-branch: ["^fix", "fix"] - -chore: - - head-branch: ["^chore", "chore"] - -perf: - - head-branch: ["^perf", "perf"] - -documentation: - - changed-files: - - any-glob-to-any-file: ["**/*.md", "docs/**"] diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml deleted file mode 100644 index 2ecf030d..00000000 --- a/.github/workflows/labeler.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: PR Labeler - -on: - pull_request: - types: [opened, edited, synchronize] - -jobs: - label: - permissions: - contents: read - pull-requests: write - runs-on: ubuntu-latest - if: github.actor != 'dependabot[bot]' && !contains(github.event.head_commit.message, '[skip ci]') - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Label PR based on title or file changes - uses: actions/labeler@v5 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - configuration-path: .github/labeler.yml