العربية
Back

AI

GitHub Actions: automate build, test and deploy from your repository

The parts of GitHub Actions: workflows, events, jobs, steps and runners, and where the YAML files live.

Last reviewed:

What it is

GitHub Actions is a continuous integration and continuous delivery (CI/CD) platform that automates your build, test and deployment pipeline. You can build and test every pull request, deploy merged ones to production, and run workflows on other events, such as labeling a new issue automatically.

Its components

  • Workflow: an automated process defined by a YAML file in .github/workflows, made of one or more jobs.
  • Event: repository activity that triggers a workflow.
  • Job: a set of steps run on the same runner; jobs run in sequence or in parallel.
  • Step: a script you define or a reusable action.
  • Runner: a Linux, Windows or macOS virtual machine from GitHub, or your own self-hosted runner.

Examples from the docs

  • Building and testing pull requests.
  • Deploying your application every time a release is created.
  • Adding a label whenever a new issue is opened.

Linking it to AI tools

Claude Code's docs say code review and issue triage can be automated with GitHub Actions. See the Claude Code page for how it fits.

Latest updates

Read on 2026-11-30; the page showed no update date. I did not read pricing or minute limits, so no figures are given.

Similar tools

For related pieces read GitHub Codespaces for the dev environment and GitHub Pages for hosting. I have not yet read alternative CI platforms.

Not verified

Pricing, usage limits and secrets handling were not read.

Related pages

Sources

Wording is ours, from the official source. Images and video belong to their owners and are credited with a link to the official page.

#github-actions#ci-cd#dev#exec

Frequently asked questions

Where do I put a workflow file?

In the .github/workflows directory of the repository; a repository can hold several.

What triggers a workflow?

A repository event such as opening a pull request or issue or pushing a commit, a schedule, a REST API post, or a manual run.

Can it deploy a site automatically?

Yes, the docs mention deploying merged pull requests to production. For a static site from a repository, read the GitHub Pages page.

GitHub Pages: host a static site straight from a GitHub repository