Create cla.yml
diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml
new file mode 100644
index 00000000000..4f87c77701d
--- /dev/null
+++ b/.github/workflows/cla.yml
@@ -0,0 +1,39 @@
+# Ultralytics YOLO 🚀, AGPL-3.0 license
+# Ultralytics Contributor License Agreement (CLA) action https://docs.ultralytics.com/help/CLA
+# This workflow automatically requests Pull Requests (PR) authors to sign the Ultralytics CLA before PRs can be merged
+
+name: CLA Assistant
+on:
+  issue_comment:
+    types:
+      - created
+  pull_request_target:
+    types:
+      - reopened
+      - opened
+      - synchronize
+
+jobs:
+  CLA:
+    if: github.repository == 'ultralytics/yolov5'
+    runs-on: ubuntu-latest
+    steps:
+      - name: CLA Assistant
+        if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I sign the CLA') || github.event_name == 'pull_request_target'
+        uses: contributor-assistant/github-action@v2.3.2
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          # must be repository secret token
+          PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
+        with:
+          path-to-signatures: "signatures/version1/cla.json"
+          path-to-document: "https://docs.ultralytics.com/help/CLA" # CLA document
+          # branch should not be protected
+          branch: "main"
+          allowlist: dependabot[bot],github-actions,[pre-commit*,pre-commit*,bot*
+
+          remote-organization-name: ultralytics
+          remote-repository-name: cla
+          custom-pr-sign-comment: "I have read the CLA Document and I sign the CLA"
+          custom-allsigned-prcomment: All Contributors have signed the CLA. ✅
+          #custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign'

<!--
Thank you 🙏 for your contribution to [Ultralytics](https://ultralytics.com) 🚀! Your effort in enhancing our repositories is greatly appreciated. To streamline the process and assist us in integrating your Pull Request (PR) effectively, please follow these steps:

1. **Check for Existing Contributions**: Before submitting, kindly explore existing PRs to ensure your contribution is unique and complementary.
2. **Link Related Issues**: If your PR addresses an open issue, please link it in your submission. This helps us better understand the context and impact of your contribution.
3. **Elaborate Your Changes**: Clearly articulate the purpose of your PR. Whether it's a bug fix or a new feature, a detailed description aids in a smoother integration process.
4. **Ultralytics Contributor License Agreement (CLA)**: To uphold the quality and integrity of our project, we require all contributors to sign the CLA. Please confirm your agreement by commenting below:

    _I have read the CLA Document and I sign the CLA_

For more detailed guidance and best practices on contributing, refer to our ✅ [Contributing Guide](https://docs.ultralytics.com/help/contributing). Your adherence to these guidelines ensures a faster and more effective review process.
--->


## 🛠️ PR Summary

<sub>Made with ❤️ by [Ultralytics Actions](https://github.com/ultralytics/actions)<sub>

### 🌟 Summary
Introducing the CLA Assistant workflow to enhance contribution management. 

### 📊 Key Changes
- **New Workflow Added**: A CLA (Contributor License Agreement) Assistant workflow has been implemented into the GitHub actions.
- **Automatic CLA Request**: This workflow automatically asks Pull Request authors to sign the Ultralytics CLA.
- **Verification and Management**: It checks if authors have signed the CLA before their PRs can be merged, facilitating better open-source collaboration.

### 🎯 Purpose & Impact
- **Enhances Security and Compliance**: Ensures all contributions are compliant with the project's licensing, protecting both the project and the contributors.
- **Streamlines Contributions**: By automating the CLA process, it helps in managing contributions more efficiently, potentially speeding up the PR review and merge process.
- **Encourages More Contributions**: Clear and automated CLA procedures make it easier for new contributors to get involved with the project.

This change is a foundational step to foster a more organized and legally secure open-source collaboration environment. 🚀