GitHub Actions Workflow Generator
Generate a GitHub Actions CI workflow for Node.js, PHP, Python or Go with dependency caching, a database service container and an optional image push to GHCR.
Free · No sign-up · Your inputs stay in your browser
Input
Generate a GitHub Actions CI workflow
Output
.github/workflows/ci.yml
473 characters
permissions: contents: read narrows the GITHUB_TOKEN to what a test needs; only the image job is granted packages: write. concurrency cancels the previous run on the same branch when you push again. Pin third-party actions to a commit SHA in security-sensitive repositories.
Runs in this browser. Nothing you paste is sent to a server.
About this tool
Method, assumptions, practical next steps, and limits.
Permissions and pinning
The workflow sets permissions: contents: read at the top and grants packages: write only to the image job, so a compromised step in tests cannot push packages. Third-party actions run with your token: in sensitive repositories pin them to a full commit SHA rather than a tag. GitHub's security hardening guide covers both.
Service containers
A services: block starts the database next to the job and the health options make the job wait until it accepts connections. It is reachable on localhost at the published port.