#1 India's Top IT Training Institute

×

About Uncodemy

Know more about who we are and what we stand for.

About Us

About Us

Discover our mission to equip individuals with essential IT skills and industry expertise.

Read More →
UnCodeMy Gallery

UnCodeMy Gallery

Explore highlights from our IT training sessions and success stories.

Read More →
×

Free Resources

Learn, practice and plan your career — bilkul free.

Tutorials

Tutorials

Step-by-step written tutorials to learn any technology at your own pace.

Read More →
Free Counselling

Free Counselling

Book a free video counselling session and pick the right course for you.

Read More →
Online Compiler

Online Compiler

Write, run and test your code online — no setup required.

Read More →
⚙️ FREE · 5 STACKS

GitHub Actions Generator: A CI Workflow That Runs on Every Push

Choose your stack, versions and branches, and get .github/workflows/ci.yml.

  • 🧪 Version matrix
  • 📦 Dependency caching
  • 🔒 Read-only permissions

How to use the GitHub Actions Workflow Generator

  1. 1. Pick your project typeNode.js, Python, Java, Go, or a Docker image build.
  2. 2. Set versions and branchesList the runtime versions to test and the branches that trigger it.
  3. 3. Commit the fileSave as .github/workflows/ci.yml and push to see it run.

The default Node.js workflow

With the defaults the workflow is named CI and runs on pushes and pull requests to main. It sets permissions: contents: read so the job's token cannot change your repository. One job tests on Node.js 22 and 24 in a matrix, which means two runs side by side. The steps check out the code, set up Node with npm caching, run npm ci, then npm run build --if-present and npm test.

The Docker option instead logs in to GitHub Container Registry with the built-in GITHUB_TOKEN and pushes an image tagged with the commit SHA, but only on push events, so pull requests from forks build without publishing.

Action versions and staying current

The workflow uses actions/checkout@v5 and actions/setup-node@v7, with setup-python v6, setup-java v5 and setup-go v6 for the other stacks. We checked these against GitHub's documentation and release pages in November 2026, but GitHub releases new major versions over time, so the versions are an editable field: type setup-node@v8, for example, and the YAML updates. Some organisations require pinning to a full commit SHA instead of a tag; you can paste that in the same way.

  • Runtime versions should be ones that are still supported. Node.js 22 and 24 were both LTS lines in late 2026.
  • The YAML is plain and readable, so you can add steps like linting or coverage.

Check edited YAML with the YAML validator, or write the same pipeline for Jenkins in the Jenkinsfile generator.

Frequently asked questions

Is GitHub Actions free?

Public repositories get free minutes on GitHub-hosted runners, and private repositories get a monthly allowance that depends on your plan. Check GitHub's billing page for current limits.

Why minimal permissions?

If a step or dependency is compromised, a read-only token limits what it can do to your repository.

Is the GitHub Actions Workflow Generator free?

Yes, the GitHub Actions Workflow Generator is free. The first time you generate your first workflow, you are asked for your name and WhatsApp number once. After that, this and every other Uncodemy tool opens straight away without the form.

More free tools

See all free tools