GitHub Actions Workflow Generator (CI YAML)
For developers setting up CI on GitHub. Choose your language, versions and steps to get a clean, valid workflow file with safe default permissions.
Close the gaps with real-world projects
Build industry projects on ByteLabs and add verified proof of your skills to your public profile.
How to use the GitHub Actions Workflow Builder
- Name the workflow and pick the language.
- List the versions to test (two or more make a matrix) and the branches.
- Tick the triggers and the steps: lint, test, build, Docker image.
- Copy the YAML into .github/workflows/ci.yml and push.
An example, step by step (example only)
You enter
Node.js, versions 20 and 22, branch main, on push, pull request and manual run, with lint, test and build
The tool shows
Valid YAML with permissions contents: read, a concurrency group, a matrix of 20 and 22, actions/checkout@v4, actions/setup-node@v4 with npm cache, then npm ci, npm run lint, npm test and npm run build
Questions about the GitHub Actions Workflow Builder
Where do I save a GitHub Actions workflow?
In your repository under .github/workflows/, as a .yml file. GitHub runs it on the triggers listed under on.
Why set permissions to contents: read?
The GITHUB_TOKEN then can only read the code, so a compromised step cannot push or change settings. Jobs that publish packages get packages: write only for themselves.
Should I pin actions to a version?
Pin at least the major version, as this tool does. For the strictest supply-chain safety pin each action to a full commit SHA.
Is the GitHub Actions Workflow Builder free and private?
Yes. It is free, needs no sign-up and runs entirely in your browser, so what you type is not uploaded. You only sign in if you want to email a result to yourself or save it to your CareerByteCode profile.