P
💻DeveloppementBeginnerAll AIs

Write a GitHub Actions workflow

Create CI/CD pipelines

Paste in your AI

Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.

Write a GitHub Actions workflow for a [language/framework] application that runs on every pull request and push to main. Include: dependency caching, linting, unit tests, build, Docker image build and push to [registry], and deployment to [environment]. Use environment secrets for credentials and set up branch protection rules.

Personalize this prompt with Léa

Answer 3 questions and Léa tailors the prompt to your situation.

Use Cases

Create CI/CD pipelines

Learn more

Check the full skill on Prompt Guide to master this technique from A to Z.

View on Prompt Guide

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Similar Prompts

💻DeveloppementIntermediateAll AIs

REST API for ML Model

Exposing a model via an API

03
💻DeveloppementIntermediateAll AIs

Automatically Generate Unit Tests with AI

Automatically generate an exhaustive unit test suite covering nominal cases, edge cases, and error cases for any source code.

0223
💻DeveloppementAdvancedAll AIs

Analyze and Optimize Algorithmic Complexity

Analyze the Big O complexity of your algorithms and optimize them with appropriate data structures and more efficient algorithms.

40233
💻DeveloppementIntermediateAll AIs

Configure an Optimized Dockerfile for Your Application

This prompt generates a production-ready Dockerfile with multi-stage build, security best practices and cache optimization, tailored to your language and framework.

0170