Skip to content
goodprompts

Write a GitHub Actions CI/CD workflow

Name your stack and deploy target. The workflow tests and builds each pull request, can build a Docker image, and deploys from main. Every step has a comment.

5 blanksCodingSuggested models GPT, Claude, Geminiby @library

The prompt

959 characters
Generate a GitHub Actions CI/CD workflow for the following project: **Project type:** **Language/Framework:** **Package manager:** **Deployment target:** **Branch strategy:** The workflow should: 1. **Trigger** on push to main and on pull requests 2. **Test** — Run linting, type checking, and test suite 3. **Build** — Production build with caching for faster runs 4. **Docker** — Build and push Docker image (if applicable) 5. **Deploy** — Deploy to on successful main branch builds 6. **Notifications** — Comment on PR with build status Include: - Proper secrets management (list what secrets are needed) - Caching strategy for dependencies - Matrix testing if multiple Node/Python versions are needed - Concurrency settings to cancel outdated runs - Environment-specific variables (staging vs production) Add comments explaining each step for team members unfamiliar with GitHub Actions.
959 characters

Model ratings

4.1 / 5

Strongest on the task and the fill-in blanks. Weakest on the output.

  • Astra
  • Fable
  • Neon

Worth fixing

  • It doesn't say how long or how detailed the output should be.3 of 3 models
  • Some of the author's own details are written in, so you'd change them by hand.2 of 3 models

Rated

Wording only. The models read the prompt without running it.

  • AstraOpenAI · gpt-6.2-astra
  • FableAnthropic · claude-fable-5-2
  • NeonGoogle · gemini-4-neon-high

About this prompt

Category
Coding
Suggested models
GPT, Claude, Gemini
Blanks
5
Published
Feb 21, 2026
Tags
#structured-output#technical

by @library

Comments

Details

Category
Coding
Suggested models
GPT, Claude, Gemini
Blanks
5
Published
Feb 21, 2026
Tags
#structured-output#technical
GoodPrompts Library@library · 94 published
View profile

Comments

No comments yet.

Remixes

No remixes yet. Create your own version of this prompt.

Remix

More like this

Frontend state audit prompt for reviewing app codeCodingPlanning and building a data animation explainer as a canvas HTML fileCodingAudit third-party API integrations for reliability and failure risksCodingReview a pull request for scope creep and risksCodingAudit a codebase for authorization and tenant isolation flawsCoding

Unfilled blanks stay as {{name}} when copied.