git
GitHub
GitHub
Give agents access to your GitHub repositories for code search, pull request context, and codebase understanding. Agents can browse files, understand your architecture, and provide more accurate answers grounded in your actual code.
เชื่อมต่อ
เชื่อมต่อ GitHub จากเทอร์มินัล ส่ง --help เพื่อดูแฟล็กที่ GitHub รับ
Terminal
polylane integration connect --type githubติดตั้ง Polylane GitHub App บนองค์กรของคุณ
GitHub เชื่อมต่อผ่าน OAuth โดยติดตั้ง Polylane GitHub App ไม่มีโทเค็นให้จัดการ และคุณเลือกได้อย่างแน่ชัดว่า Polylane เห็น repository ใด
การตั้งค่า
- คลิก Connect GitHub คุณจะถูก redirect ไปยัง GitHub เพื่อติดตั้ง Polylane GitHub App
- เลือกองค์กรหรือบัญชีที่จะติดตั้ง
- ให้สิทธิ์เข้าถึง repository ทั้งหมด หรือเลือกเฉพาะบางรายการ คุณเปลี่ยนการเลือกนี้ใน GitHub ภายหลังได้
- อนุมัติการติดตั้ง คุณจะกลับมาที่ Polylane และ repository ของคุณเริ่มซิงก์
สิ่งที่เอเจนต์ทำได้
- ค้นหาโค้ดและอ่านไฟล์ทั่ว repository ที่คุณให้สิทธิ์
- ดึงบริบทของ pull request และ commit ระหว่างการสืบสวน
- เปิด pull request สำหรับ autofix ให้คุณตรวจทานเสมอ
การยกเลิกการเชื่อมต่อ
ลบ Polylane GitHub App ออกจากองค์กร GitHub ของคุณใต้ Settings → GitHub Apps หรือยกเลิกการเชื่อมต่อจาก Polylane
ยกเลิกการเชื่อมต่อ
การยกเลิกการเชื่อมต่อหยุดทุกการซิงก์และการตรวจสอบ และลบข้อมูลรับรองที่ Polylane เก็บไว้ Polylane ลบสิ่งที่ API ของ GitHub อนุญาตให้ลบ สิ่งต่อไปนี้ยังคงอยู่จนกว่าคุณจะลบด้วยตัวเอง:
- polylane/onboarding/* branch and Set up Polylane PR
- autofix branches and PRs
- check runs on past commits
GitHub เชื่อมต่อผ่านการติดตั้งแอป การยกเลิกการเชื่อมต่อจึงเกิดขึ้นฝั่ง GitHub: ถอนการติดตั้งแอป Polylane จาก GitHub Apps ที่ติดตั้งไว้ ของคุณ Polylane จะได้รับแจ้งและลบการผสานรวม
เครื่องมือ
14การดำเนินการที่เอเจนต์ทำได้ในเธรด
Api
Read any GitHub REST endpoint that lacks a dedicated tool
Fetch Files
Fetch file contents from a GitHub repository
Search Github
Search across GitHub repositories, code, issues, pull requests, users, commits, and topics
Commits
Read commits in a GitHub repository (list/getDiff)
Pull Requests
Read pull requests in a GitHub repository (list/get)
Create Pull Request
Create or update a GitHub pull request
Merge Pull Request
Merge a pull request
Close Pull Request
Close a pull request Polylane opened
Create Issue
Create or update a GitHub issue
Workflow Runs
Read GitHub Actions workflow runs (list/get)
Create Branch
Create a new branch in a repository
Get Pull Request Diff
Get the diff for a pull request
Create Review Comment
Create or update a pull request review comment
Submit Review
Submit a review for a pull request