diff --git a/.coderabbit.yaml b/.coderabbit.yaml index 9f15fcd01f..62f8d98d7b 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -13,8 +13,6 @@ reviews: mode: off enabled: false labeling_instructions: - - label: 'suspect ai generated' - instructions: 'This issue or PR is suspected to be generated by AI. Add this only if "AI generated" label is not present. Add it always if the commit or PR title is prefixed with "[AI]".' - label: 'API' instructions: 'This issue or PR updates the API in `packages/api`.' - label: 'documentation' diff --git a/.github/workflows/pr-ai-label-cleanup.yml b/.github/workflows/pr-ai-label-cleanup.yml deleted file mode 100644 index 4124660062..0000000000 --- a/.github/workflows/pr-ai-label-cleanup.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Remove 'suspect ai generated' label when 'AI generated' is present - -on: - pull_request_target: - types: [labeled] - -permissions: - pull-requests: write - -jobs: - remove-suspect-label: - if: >- - ${{ contains(github.event.pull_request.labels.*.name, 'AI generated') && - contains(github.event.pull_request.labels.*.name, 'suspect ai generated') }} - runs-on: ubuntu-slim - steps: - - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 - with: - script: | - await github.rest.issues.removeLabel({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.issue.number, - name: 'suspect ai generated' - }); diff --git a/upcoming-release-notes/7087.md b/upcoming-release-notes/7087.md new file mode 100644 index 0000000000..4c1f22bd89 --- /dev/null +++ b/upcoming-release-notes/7087.md @@ -0,0 +1,6 @@ +--- +category: Maintenance +authors: [Copilot] +--- + +Remove 'suspect ai generated' label and delete associated workflow for streamlined labeling system.