Text & chat prompt

Write a GitHub Actions workflow

Write a GitHub Actions workflow: a free, copy-paste prompt for ChatGPT, Gemini and Claude. Paste the prompt and replace each [BRACKETED] field with your own details.

The prompt

Write a GitHub Actions workflow for a [LANGUAGE] project.

It should: [RUN TESTS / LINT / BUILD / DEPLOY] on [EVENT, e.g. pull requests to main].
Deployment target: [TARGET]
Caching needed: [DEPENDENCIES]

Provide the YAML with comments, explain each step, list the secrets I must add and suggest one improvement to make the pipeline faster.

Pro tip: Pin action versions and keep secrets in repository settings, never in the workflow file.

How to use this prompt

  1. Open ChatGPT and start a new chat.
  2. Paste the prompt.
  3. Replace each [BRACKETED] field with your real details and paste in your own text where asked.
  4. Reply with follow-ups such as "make it shorter" or "make it sound more like me".

Prompt at a glance

Category
Text & chat
Works with
ChatGPT · Gemini · Claude
Length
55 words
Fields to fill in
LANGUAGE, RUN TESTS / LINT / BUILD / DEPLOY, EVENT, TARGET, DEPENDENCIES
Last updated

Frequently asked questions

Which AI tools work with this prompt?

It is written for ChatGPT, Gemini and Claude. Paste it into your preferred tool and adjust the wording if the result is off.

What do I need to fill in?

Replace these fields before you send it: LANGUAGE, RUN TESTS / LINT / BUILD / DEPLOY, EVENT, TARGET, DEPENDENCIES. Each field shows an example in the prompt.

Should I paste private information into the prompt?

Only what the task needs. Remove names, contact details and other sensitive data before pasting a resume or document into any AI tool.

More chat & writing prompts

See all 373 chat & writing prompts →