From 7e5fb96e12e0687cacff14dd8f8165cde9aee622 Mon Sep 17 00:00:00 2001 From: Dimitri Yatsenko Date: Mon, 2 Feb 2026 14:56:12 -0600 Subject: [PATCH] fix: Remove auto-labeling workflows Remove automatic issue and PR labeling: - label_issues.yaml - auto-added "triage" label - label_prs.yaml - auto-labeled based on files changed - pr_labeler.yaml - config for PR labeler Co-Authored-By: Claude Opus 4.5 --- .github/pr_labeler.yaml | 25 ------------------------- .github/workflows/label_issues.yaml | 18 ------------------ .github/workflows/label_prs.yaml | 18 ------------------ 3 files changed, 61 deletions(-) delete mode 100644 .github/pr_labeler.yaml delete mode 100644 .github/workflows/label_issues.yaml delete mode 100644 .github/workflows/label_prs.yaml diff --git a/.github/pr_labeler.yaml b/.github/pr_labeler.yaml deleted file mode 100644 index 51ce9afee..000000000 --- a/.github/pr_labeler.yaml +++ /dev/null @@ -1,25 +0,0 @@ -# https://github.com/actions/labeler -breaking: -- head-branch: ['breaking', 'BREAKING', 'pre/v2.0'] -bug: -- head-branch: ['fix', 'FIX', 'bug', 'BUG', 'pre/v2.0'] -feature: -- head-branch: ['feat', 'FEAT'] -documentation: -- changed-files: - - any-glob-to-any-file: - - docs/** - - images/** - - README.md - - CHANGELOG.md - - CONTRIBUTING.md -enhancement: -- head-branch: ['enhance', 'improve', 'IMPR', 'DJEP'] -- changed-files: - - any-glob-to-any-file: - - '**' - - '!docs/**' - - '!images/**' - - '!README.md' - - '!CHANGELOG.md' - - '!CONTRIBUTING.md' diff --git a/.github/workflows/label_issues.yaml b/.github/workflows/label_issues.yaml deleted file mode 100644 index d5f99f015..000000000 --- a/.github/workflows/label_issues.yaml +++ /dev/null @@ -1,18 +0,0 @@ -name: Label issues -on: - issues: - types: - - reopened - - opened -jobs: - label_issues: - runs-on: ubuntu-latest - permissions: - issues: write - steps: - - run: gh issue edit "$NUMBER" --add-label "$LABELS" - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GH_REPO: ${{ github.repository }} - NUMBER: ${{ github.event.issue.number }} - LABELS: triage diff --git a/.github/workflows/label_prs.yaml b/.github/workflows/label_prs.yaml deleted file mode 100644 index 8f3fcec95..000000000 --- a/.github/workflows/label_prs.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# https://github.com/actions/labeler -name: "Pull Request Labeler" -on: -- pull_request_target - -jobs: - labeler: - permissions: - contents: read - pull-requests: write - runs-on: ubuntu-latest - steps: - - uses: actions/labeler@v5 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - configuration-path: .github/pr_labeler.yaml - sync-labels: false # Don't remove manually added labels - dot: true \ No newline at end of file