أحدث ابتكارات Google AI هنا لإحداث ثورة في سير عمل التطوير الخاص بك: إجراءات Gemini CLI GitHub. تمكن هذه الأداة المجانية، التي تم الإعلان عنها في 6 أغسطس 2025، المطورين من خلال زميل ترميز بالذكاء الاصطناعي مباشرة داخل مستودعاتهم. استنادًا إلى أساس Gemini CLI الشائع بالفعل، تعمل GitHub Action هذه على أتمتة مهام الترميز الروتينية وتسريع مراجعات طلبات السحب وتوفر تعاونًا عند الطلب، مما يعد بزيادة الإنتاجية وجودة التعليمات البرمجية.
تقديم إجراءات Gemini CLI GitHub
تم تصميم إجراءات Gemini CLI GitHub للتعاون الجماعي على GitHub. يتم تشغيل هذه الأداة بواسطة أحداث مثل المشكلات الجديدة أو طلبات السحب، وتعمل بشكل غير متزامن في الخلفية، وتستفيد من السياق الكامل لمشروعك للتعامل مع المهام بذكاء.
- إنه بمثابة وكيل مستقل لمهام الترميز الروتينية.
- إنه بمثابة متعاون عند الطلب لطلبات محددة.
- وهو متاح للجميع في جميع أنحاء العالم في الإصدار التجريبي على google-github-actions/run-gemini-cli.
سير العمل الرئيسية
يتضمن الإصدار الأولي ثلاثة سير عمل قوية مفتوحة المصدر مصممة لتحسين سرعة وجودة الترميز:
- فرز المشكلات الذكي: يقوم بأتمتة إدارة المشكلات الجديدة عن طريق تحليلها وتصنيفها وترتيب أولوياتها، مما يضمن تركيز المطورين على المهام الأكثر أهمية.
- مراجعات طلبات السحب المتسارعة: يوفر تعليقات فورية على تغييرات التعليمات البرمجية، والتحقق من الجودة والأسلوب والصحة، مما يحرر المراجعين البشريين للمهام الأكثر تعقيدًا.
- التعاون عند الطلب: يسمح للمطورين بتفويض المهام عن طريق الإشارة إلىgemini-cli@ في المشكلات أو طلبات السحب، وتحديد طلبات مثل كتابة الاختبارات أو تنفيذ التغييرات أو تبادل الأفكار حول الحلول أو إصلاح الأخطاء المحددة جيدًا.
سير العمل هذه قابلة للتخصيص بالكامل ومفتوحة المصدر، مما يسمح للفرق بتكييفها مع احتياجاتهم الخاصة أو إنشاء سير عمل جديدة تمامًا.
أمان وتحكم على مستوى المؤسسة
الأمان والتحكم لهما أهمية قصوى، وتعكس إجراءات Gemini CLI GitHub هذا من خلال ميزات قوية:
- مصادقة آمنة بدون بيانات اعتماد: يمكن لمستخدمي Vertex AI وGemini Code Assist الاستفادة من اتحاد هوية حمل العمل (WIF) في Google Cloud، مما يلغي الحاجة إلى مفاتيح واجهة برمجة تطبيقات طويلة الأجل وتقليل خطر اختراق بيانات الاعتماد.
- تحكم دقيق: يوفر عناصر تحكم متعددة الطبقات لفرض مبدأ الامتياز الأقل. تسمح القائمة البيضاء لأوامر الأوامر بالموافقة الصريحة على كل أمر shell يمكن أن ينفذه الوكيل. يمكن إنشاء هويات مخصصة للوكيل بأذونات محددة.
- شفافية كاملة: يتكامل مع OpenTelemetry، مما يوفر رؤية في الوقت الفعلي لكل إجراء من خلال السجلات والمقاييس المتدفقة إلى أنظمة أساسية مثل Google Cloud Monitoring. يتيح ذلك مراقبة الاستخدام وتصحيح سير العمل المعقدة.
البدء
إجراءات Gemini CLI GitHub متاحة في الإصدار التجريبي وتقدم حصصًا مجانية سخية لـ Google AI Studio. يتم أيضًا دعم Vertex AI، جنبًا إلى جنب مع المستويات القياسية والمؤسسية من Gemini Code Assist. سيأتي قريبًا الاستخدام المجاني لـ Gemini Code Assist للمستخدمين الأفراد.
لبدء استخدام إجراءات Gemini CLI GitHub:
- قم بتنزيل Gemini CLI 0.1.18 أو أحدث.
- قم بتشغيل setup-github/.
- ابحث عن GitHub Action على google-github-actions/run-gemini-cli.
خاتمة
تمثل إجراءات Gemini CLI GitHub قفزة كبيرة إلى الأمام في تطوير البرامج بمساعدة الذكاء الاصطناعي. من خلال أتمتة المهام الرئيسية وتسريع مراجعة التعليمات البرمجية وتقديم المساعدة عند الطلب، فإنها تمكن المطورين من التركيز على الابتكار والإبداع. بفضل الأمان على مستوى المؤسسة وسير العمل القابلة للتخصيص، فهي أداة مهيأة لتغيير الطريقة التي تتعاون بها الفرق وتبني البرامج. تشجع Google المجتمع على المساهمة في سير العمل المبتكرة في المستودع ومشاركتها مع الآخرين. إذن، ما الذي ستبنيه مع زميلك الجديد في ترميز الذكاء الاصطناعي؟
المصدر: N/A
The latest innovation from Google AI is here to revolutionize your development workflow: Gemini CLI GitHub Actions. This free tool, announced on August 6, 2025, empowers developers with an AI coding teammate directly within their repositories. Built on the foundation of the already popular Gemini CLI, this GitHub Action automates routine coding tasks, accelerates pull request reviews, and offers on-demand collaboration, promising to boost productivity and code quality.
Introducing Gemini CLI GitHub Actions
Gemini CLI GitHub Actions is designed for team collaboration on GitHub. Triggered by events like new issues or pull requests, this tool works asynchronously in the background, leveraging the full context of your project to handle tasks intelligently.
- It acts as an autonomous agent for routine coding tasks.
- It serves as an on-demand collaborator for specific requests.
- It is available to everyone worldwide in beta at google-github-actions/run-gemini-cli.
Key Workflows
The initial release includes three powerful, open-source workflows designed to improve coding speed and quality:
- Intelligent issue triage: Automates the management of new issues by analyzing, labeling, and prioritizing them, ensuring developers focus on the most critical tasks.
- Accelerated pull request reviews: Provides instant feedback on code changes, checking for quality, style, and correctness, freeing up human reviewers for more complex tasks.
- On-demand collaboration: Allows developers to delegate tasks by mentioning
@gemini-cli in issues or pull requests, specifying requests like writing tests, implementing changes, brainstorming solutions, or fixing well-defined bugs.
These workflows are fully customizable and open-source, allowing teams to tailor them to their specific needs or create entirely new ones.
Enterprise-Grade Security and Control
Security and control are paramount, and Gemini CLI GitHub Actions reflects this with robust features:
- Secure, credential-less authentication: Vertex AI and Gemini Code Assist users can leverage Google Cloud’s Workload Identity Federation (WIF), eliminating the need for long-lived API keys and minimizing the risk of credential compromise.
- Granular control: Offers multi-layered controls for enforcing the principle of least privilege. Command allowlisting allows explicit approval of every shell command the agent can execute. Custom identities can be created for the agent with specific permissions.
- Complete transparency: Integrates with OpenTelemetry, providing real-time visibility into every action through logs and metrics streamed to platforms like Google Cloud Monitoring. This allows for usage monitoring and debugging of complex workflows.
Getting Started
Gemini CLI GitHub Actions is available in beta and offers generous free-of-charge quotas for Google AI Studio. Vertex AI, along with the Standard and Enterprise tiers of Gemini Code Assist, are also supported. Free-of-charge use for Gemini Code Assist for individual users is coming soon.
To start using Gemini CLI GitHub Actions:
- Download Gemini CLI 0.1.18 or later.
- Run
/setup-github.
- Find the GitHub Action at google-github-actions/run-gemini-cli.
Conclusion
Gemini CLI GitHub Actions presents a significant leap forward in AI-assisted software development. By automating key tasks, accelerating code review, and offering on-demand assistance, it empowers developers to focus on innovation and creativity. With enterprise-grade security and customizable workflows, it’s a tool poised to transform the way teams collaborate and build software. Google encourages the community to contribute innovative workflows to the repository and share them with others. So, what will you build with your new AI coding teammate?
Source: N/A
جاري تحميل التعليقات...