GitHub Actions logo

GitHub Actions

GitHub Actions is GitHub's built-in CI/CD and automation platform, running YAML-defined workflows in response to repository events on GitHub-hosted or self-hosted runners.

CI/CDDevOpsYAMLCloudAutomation
Stars
6,389
Forks
1,487
Contributors
179
Latest
2.338.2

About GitHub Actions

GitHub Actions was announced in 2018 and became generally available with built-in CI/CD in November 2019. Workflows live in the repository under .github/workflows as YAML files and are triggered by events such as pushes, pull requests, releases, issue activity, schedules or manual dispatch. Each workflow is made of jobs that run in parallel or depend on each other, and each job runs a sequence of steps: shell commands or reusable actions published in the GitHub Marketplace. Jobs run on GitHub-hosted Linux, Windows and macOS runners or on self-hosted runners, which can be autoscaled on Kubernetes with Actions Runner Controller. The runner itself is open source (MIT), while the orchestration service is part of GitHub.

Key Features

YAML workflows stored in the repository under .github/workflows
Triggers on repository events, schedules (cron) and manual dispatch
Jobs with dependencies, matrix builds and concurrency controls
Reusable workflows, composite actions and the GitHub Marketplace
GitHub-hosted Linux, Windows and macOS runners or self-hosted runners
Environments with protection rules, secrets and OIDC federation to cloud providers
Built-in caching, artifacts and Actions Runner Controller for Kubernetes

Pros

Zero setup for repositories already hosted on GitHub
Huge ecosystem of ready-made actions in the Marketplace
Free minutes for public repositories and a generous free tier
Tight integration with pull requests, checks, packages and deployments

Cons

Tied to GitHub as the source code host
Hard to run and debug workflows locally
Hosted runner minutes can get expensive for private repositories at scale
Third-party actions add supply-chain risk unless pinned to commit SHAs

Tool Information

Language
YAML workflows; runner written in C#
License
MIT (runner); service is proprietary
First release
2018
Latest version
2.338.2
Maintainer
GitHub (Microsoft)