GitHub Actions
GitHub Actions
GLS-000114
Definition
GitHub's built-in CI/CD system — run automated tests, checks, and deployments when code is pushed.
نظام CI/CD المدمج في GitHub — تشغيل الاختبارات الآلية والفحوصات والنشرات عند دفع الكود.
Why It Matters
GitHub Actions enforces sprint certification gates — typecheck, build, and audits must pass before any code merges to master.
GitHub Actions تُطبِّق بوابات شهادة Sprint — يجب أن تنجح typecheck والبناء والتدقيقات قبل دمج أي كود في master.
Full Definition
Example Usage
“A .github/workflows/quality.yml runs npm run typecheck && npm run build on every PR, blocking merge until both pass.”
“ملف .github/workflows/quality.yml يشغِّل npm run typecheck && npm run build على كل PR، يحجب الدمج حتى يمرا كلاهما.”
AI Builder Tips
Avoid these mistakes when using GitHub Actions:
Storing secrets in workflow YAML files (use GitHub Secrets)
Not caching node_modules (makes every workflow run slow)
Sign in to unlock guided AI explanations from AI Teacher.
Generate a Prompt
Copy this prompt and use it directly with any AI model — no setup needed.
Help me build a project using GitHub Actions. Explain: 1. What is GitHub Actions and why it matters 2. The core architecture and required tools 3. Step-by-step implementation plan 4. Common mistakes to avoid: Storing secrets in workflow YAML files (use GitHub Secrets), Not caching node_modules (makes every workflow run slow) 5. Best practices and production tips