What are Actions?
- Git course
- Intermediate
- Lesson 65/82
- 4 min
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 testsWhat 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
↓
DeliveryPractice 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
// İşlem sırasını göster
// 1. Kod gönderimi
// 2. Otomasyon aracı
// 3. Otomatik testlerSample solution
Git push
GitHub Actions
Automated testsExpected 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
GitHub ____ otomatik testleri çalıştırabilir.
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 |