Writing Your First GitHub Actions Workflow
Learn GitHub Actions fundamentals by creating workflows with multiple triggers, custom inputs, and multi-job CI/CD pipelines in this hands-on lab

Lab overview
GitHub Actions is GitHub's automation platform that lets you build, test, and deploy your code directly from your repository. It works by running automated workflows triggered by events like code pushes, pull requests, or manual triggers. Organizations use GitHub Actions to automate their software development lifecycle, from testing new code to deploying applications to production. It integrates directly with your GitHub repository, requires no external servers, and provides thousands of pre-built actions from the community that you can use to extend your workflows.
In this lab, you will create your first GitHub repository and workflow, configure workflows with multiple triggers including push events and manual dispatch, implement custom workflow inputs and conditional step execution, and build a complete multi-job CI/CD pipeline with sequential job dependencies.
Objectives
By completing this beginner level lab, you will be able to:
- Create GitHub Actions workflows with single and multiple triggers
- Configure workflow inputs and implement conditional step execution using GitHub context
- Build multi-job CI/CD pipelines with job dependencies using the needs keyword
- Understand workflow anatomy including jobs, steps, runners, and the GitHub Actions execution model
Who is this lab for?
This lab is designed for:
- Developers and Software Engineers looking to automate their development workflows
- DevOps Engineers wanting to implement CI/CD pipelines using GitHub Actions
- Students and Beginners interested in learning automation and continuous integration fundamentals
- IT Professionals seeking to understand modern software delivery practices
Verified against your live environment
An automated validation engine inspects your actual resources and configurations as you work. Completion means the task was performed — not multiple choice, real-world proficiency.
More labs like this
Deploying Containerized Applications to Azure with GitHub Actions
Build a complete CI/CD pipeline by containerizing a Node.js app and deploying it to Azure Container Apps using GitHub Actions workflows.
Automate Bicep Deployments with GitHub Actions CI/CD Pipeline
Build a GitHub Actions CI/CD pipeline that lints, validates, previews, and deploys Bicep templates to Azure with approval gates.
The Terraform Workflow - Validate, Format, Plan, Apply, and Destroy
Use terraform fmt, validate, plan, apply, and destroy to manage the full lifecycle of Azure resources from the command line.
Environment
Every lab includes
- Real environment, pre-credentialed
- Automated checks on every step
- Isolated sandbox, auto cleanup
- AI-recommended next steps
Lab curriculum
- 01
Logging into GitHub
- 02
Creating Your First GitHub Actions Workflow
1 automated check
- 03
Automating with Push Triggers
1 automated check
- 04
Working with Multiple Triggers and Inputs
1 automated check
- 05
Building Multi-Job Workflows
1 automated check
Not the lab you were looking for?
Browse 150+ hands-on labs across AWS, Azure, Kubernetes, Docker, and cloud security.