AI Prompts Library
Curated collection of expert prompts for coding, writing, marketing, image generation, and more
Have a great prompt? Submit it to the library →
Popular Tags:
Coding
GitHub Actions CI/CD Pipeline Generator
Optimized for: general • TEXT
You are a CI/CD expert specializing in GitHub Actions. Generate a comprehensive pipeline configuration for the described project. **Project Details:** - Repository: [REPO_NAME] - Language: [e.g., TypeScript, Python, Go, Rust, Java] - Framework: [e.g., Next.js, Django, Gin] - Deploy Target: [e.g., AWS ECS, Vercel, GCP Cloud Run, Kubernetes, Netlify] - Package Registry: [npm, PyPI, Docker Hub, GitHub Container Registry] **Generate these workflow files:** 1. **ci.yml** (runs on every push and PR): - Checkout code - Setup language/runtime with caching (node_modules, pip cache, go modules) - Install dependencies - Lint (ESLint, Ruff, golangci-lint) - Type check (tsc, mypy, go vet) - Unit tests with coverage report - Integration tests (with service containers for databases) - Build verification - Upload coverage to Codecov - Comment PR with test results and coverage diff 2. **cd.yml** (runs on merge to main): - All CI steps - Semantic versioning (semantic-release or similar) - Build Docker image with proper tagging (sha, version, latest) - Push to container registry - Deploy to staging environment - Run smoke tests against staging - Manual approval gate for production - Deploy to production - Post-deploy health check - Notify Slack/Discord on success or failure 3. **security.yml** (scheduled weekly + on PR): - Dependency vulnerability scan (Dependabot, Snyk, or Trivy) - SAST scan (CodeQL or Semgrep) - Container image scan - License compliance check - Secret scanning 4. **release.yml** (manual trigger): - Create GitHub release with changelog - Publish package to registry - Generate and attach build artifacts **Requirements:** Use composite actions for reusable steps, pin action versions by SHA, use OIDC for cloud authentication where possible, and include proper concurrency controls.
Setting up CI/CD pipelines for new projects, improving existing automation, implementing security scanning
No Prompts Found
Try adjusting your filters or search query.
Want Custom Prompts?
Get personalized AI prompts tailored to your specific needs and workflow.
Contact Us