DevOps Bootcamp · Lesson

GitHub Actions Core Concepts

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

Lesson 2 of 410 steps

GitHub Actions Core Concepts is a free DevOps Bootcamp lesson on CoddyKit. This is lesson 2 of 4. Any 3 lessons of this learning path are free to read in full — after that, CoddyKit PRO unlocks every lesson, plus hands-on practice with a built-in code editor and a 24/7 AI tutor. It is part of the DevOps Bootcamp learning path, and your progress syncs across the web and the CoddyKit app. The DevOps Bootcamp course includes 4 lessons in total.

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.

Free to start

Learn DevOps Bootcamp with an AI tutor — free

Write and run real code in your browser, get instant help from a 24/7 AI tutor, and pick up where you left off on the web or in the app.

Courses
142
Lessons
568

Frequently Asked Questions

Is the “GitHub Actions Core Concepts” lesson free?

Yes — any 3 lessons of the DevOps Bootcamp learning path, including “GitHub Actions Core Concepts”, are free to read in full here on the web. After that, CoddyKit PRO unlocks every lesson, plus interactive practice with a built-in code editor and a 24/7 AI tutor. The DevOps Bootcamp course includes 4 lessons in total.

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, so you can start here or from the beginning and move at your own pace. This is lesson 2 of 4.

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