GitHub Actions Generator
Generate a GitHub Actions workflow with triggers, setup and steps.
- Runs locally in your browser
- No upload required
Try it
Supported formats
Privacy
Runs entirely in your browser. Your input is never uploaded, stored, or sent to a third party.
Generated workflow .github/workflows/ci.yml with job "build".
How it works
- Set the workflow name to "CI" and triggers: push, pull_request.
- Pinned the job to ubuntu-latest and added the node setup step.
- Added action steps for: install, lint, test, build.
- The workflow is a starting point: review the action versions and commands before committing.
- No secret is written into the file; use the repository secrets context for credentials.
Methodology
- Emit the workflow name and the selected `on` triggers.
- Emit a `jobs.build` job on the chosen runner with `actions/checkout`.
- Add the language setup step with the version and optional dependency cache.
- Add one step per selected action using the documented run command for the language.
Usage
- Name the workflow and choose the triggers and runner.
- Pick the language, version and the steps to run.
- Run the generator and copy the workflow into .github/workflows/.
Examples
These are examples, not current values: they use fixed inputs, while the interactive tool computes live results in your browser.
Node CI on push and pull request
{
"name": "CI",
"triggers": [
"push",
"pull_request"
],
"runner": "ubuntu-latest",
"language": "node",
"languageVersion": "20",
"steps": [
"install",
"lint",
"test",
"build"
],
"cache": true
}Go nightly test
{
"name": "Nightly",
"triggers": [
"schedule",
"workflow_dispatch"
],
"runner": "ubuntu-latest",
"language": "go",
"languageVersion": "1.22",
"steps": [
"install",
"test"
],
"cache": true
}Limitations
What the generated workflow covers
The workflow runs checkout, the language setup and the install/lint/test/build steps you choose. Caching is delegated to the official setup action's `cache` option.
Secrets are referenced through GitHub's secrets context in any step you add; the generator never embeds one.
Frequently asked questions
- Which action versions are used?
- The current major versions (checkout@v4, setup-node@v4, setup-python@v5, setup-go@v5, setup-java@v4). Pin to a digest if your policy requires it.
- Does the workflow deploy?
- No. It runs the steps you select; add a deployment job appropriate to your environment.
Sources
- GitHub Actions workflow syntax — GitHub
- actions/checkout — GitHub
Send feedback
Tell us if this tool helped, report a problem, or suggest a tool. Only the message you type is sent — never the input you used in the tool.
Was this tool useful?
Prefer to write to us directly? See the contact page.