Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

chore: update issue and PR default label (#3303)

Wendong-Fanc37c13dcd507
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index 53dcf042b..86df0f64e 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -1,7 +1,7 @@
name: 🐛 Bug Report
description: File an issue about a bug.
title: "[BUG] "
-labels: [bug]
+labels: [bug, Needs Triage]
body:
- type: markdown
attributes:
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
index a20f54ece..bcc6f22cf 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.yml
+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -1,7 +1,7 @@
name: ✨ Feature Request
description: Suggest an idea for this project.
title: "[Feature Request] "
-labels: [enhancement]
+labels: [Needs Triage]
body:
- type: checkboxes
id: steps
diff --git a/.github/ISSUE_TEMPLATE/questions.yml b/.github/ISSUE_TEMPLATE/questions.yml
index 5f6473dad..67d03ba4d 100644
--- a/.github/ISSUE_TEMPLATE/questions.yml
+++ b/.github/ISSUE_TEMPLATE/questions.yml
@@ -1,7 +1,7 @@
name: 🤔 Questions / Help / Support
description: Do you need support?
title: "[Question] "
-labels: [question]
+labels: [question, Needs Triage]
body:
- type: checkboxes
id: steps
diff --git a/.github/workflows/pr-label-automation.yml b/.github/workflows/pr-label-automation.yml
new file mode 100644
index 000000000..549c18771
--- /dev/null
+++ b/.github/workflows/pr-label-automation.yml
@@ -0,0 +1,24 @@
+name: PR Label Automation
+
+on:
+ pull_request:
+ types: [opened]
+
+permissions:
+ pull-requests: write
+
+jobs:
+ add-labels:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Add Review Required label
+ uses: actions/github-script@v7
+ with:
+ github-token: ${{ secrets.GITHUB_TOKEN }}
+ script: |
+ github.rest.issues.addLabels({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ issue_number: context.issue.number,
+ labels: ['Review Required']
+ })