0Pricing
DevOps Bootcamp · Lesson

GitHub Actions Core Concepts

Learn about workflows, events, jobs, steps, and runners – the building blocks of automation with GitHub Actions.

GitHub Actions Core Concepts is a free DevOps Bootcamp lesson on CoddyKit — lesson 2 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the DevOps Bootcamp learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.

Welcome to GitHub Actions!

GitHub Actions automates tasks right inside your repo — a tireless robot that builds, tests, and ships your code as part of CI/CD.

Workflows: Your Automation Blueprints

A workflow is an automated process that runs one or more jobs. You define it in a YAML file inside .github/workflows/ — your automation blueprint.

Understanding Workflow Structure

A workflow’s skeleton is three keys: name to label it, on for the trigger, and jobs for the work. Here’s the bare bones.

name: My First Workflow

on: push

jobs:
  # More details here later

Events: Triggering Your Workflows

Workflows run when events fire — a push, a pull_request, or a schedule. The on key wires your automation to those triggers.

name: On Push Example

on: [push, pull_request]

jobs:
  # ...

Jobs: Independent Tasks

A job is a set of steps that runs on one runner. Jobs run in parallel by default and each gets a unique id like build or test.

name: Simple Build Workflow

on: push

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      # ... steps will go here

Steps: Doing the Work

Steps are the individual tasks inside a job, run in order. A step can run a shell command or use a reusable action.

name: My Job With Steps

on: push

jobs:
  my_job:
    runs-on: ubuntu-latest
    steps:
      - name: Greet Me
        run: echo "Hello, CoddyKit!"
      - name: List Files
        run: ls -la

Actions: Reusable Superpowers

Actions are reusable building blocks — like checking out your repo or setting up a toolchain. Grab them from the Marketplace or write your own.

name: Using an Action

on: push

jobs:
  my_job:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Code
        uses: actions/checkout@v4 # This is an Action!
      - name: My Custom Step
        run: echo "Code is checked out."

Runners: The Execution Machines

A runner is the machine that actually executes your jobs. Use GitHub’s hosted runners like ubuntu-latest, or host your own.

name: Runner Example

on: push

jobs:
  my_job:
    runs-on: windows-latest # This job runs on a Windows machine
    steps:
      - run: echo "Hello from Windows!"

Quick Check

Which of the following GitHub Actions components defines when a workflow should start?

Recap & Next Steps

You now know the building blocks: workflows, events, jobs, steps, actions, and runners. Time to wire them into real pipelines.

Frequently asked questions

Is the “GitHub Actions Core Concepts” lesson free?

Yes — the full text of “GitHub Actions Core Concepts” is free to read here on the web, and the DevOps Bootcamp course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the DevOps Bootcamp course, upgrade to CoddyKit PRO.

What will I learn in “GitHub Actions Core Concepts”?

Learn about workflows, events, jobs, steps, and runners – the building blocks of automation with GitHub Actions. You practise DevOps Bootcamp with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start DevOps Bootcamp?

No prior experience is required. DevOps Bootcamp on CoddyKit is structured for beginners through advanced learners; this is — lesson 2 of 4, so you can start here or from the beginning and move at your own pace.

How long does the “GitHub Actions Core Concepts” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this DevOps Bootcamp lesson?

Yes. Every DevOps Bootcamp lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

All lessons in this course

  1. What is CI/CD and DevOps?
  2. GitHub Actions Core Concepts
  3. Your First GitHub Workflow
  4. Managing Secrets and Environment Variables
← Back to DevOps Bootcamp