CodeBlanks Logo Icon CodeBlanks

What are Actions?

Learn that GitHub Actions is a CI/CD tool.

What is GitHub Actions?

GitHub Actions is a CI/CD tool that automates software development tasks in GitHub repositories. When you push code to a repository, it can run tests, build software, or start specific tasks automatically. This means you do not have to perform every operation manually.

Git push
   ↓
GitHub Actions
   ↓
Automated tests

What does CI/CD mean?

CI stands for Continuous Integration, while CD stands for Continuous Delivery or Continuous Deployment. CI ensures that code changes are regularly integrated and tested. CD helps deliver or automatically deploy validated changes.

Code changes
     ↓
Integration
     ↓
Testing
     ↓
Delivery

Practice Describe Actions automation

Write a three-line flow representing an automated testing process that runs when code is pushed to a GitHub repository. Use the expressions Git push, GitHub Actions, and Automated tests in that order.

Starter code

terminal
// İşlem sırasını göster

// 1. Kod gönderimi

// 2. Otomasyon aracı

// 3. Otomatik testler

Sample solution

terminal
Git push
GitHub Actions
Automated tests

Expected output

Git push
GitHub Actions
Automated tests

Questions and answers

Review the lesson questions together with their answers. To test yourself, solve the lesson interactively.

1 What is the main purpose of GitHub Actions?

  • To edit repository files manually
  • To delete Git commit history
  • To create a GitHub account
  • To automate development tasks Correct answer

Explanation: GitHub Actions simplifies CI/CD processes by automating repetitive tasks such as testing and building.

2 Name the automation tool

Question
GitHub ____ otomatik testleri çalıştırabilir.
Answer
GitHub Actions otomatik testleri çalıştırabilir.

Explanation: GitHub Actions runs automated tasks in response to repository events.

3 Actions concepts

Term Meaning
CI Continuous integration
CD Continuous delivery or deployment
Otomasyon Automatic task execution
GitHub Actions GitHub CI/CD tool

All lessons in Intermediate

20 Intermediate final

  1. Branch management
  2. Rebase
  3. Conflict
  4. PR flow