Quiz
Answer the following questions:
- What is the primary purpose of GitHub Actions?
- Automating workflows
- Storing code
- Manual testing
- Social networking
Answer: A. Automating workflows
- GitHub Actions can be used to automate tests every time someone pushes code to a repository.
- True
- False
Answer: A. True
- Fill in the blank – in GitHub Actions, a __________ defines a set of jobs that run in response to GitHub events.
Answer: workflow
- Which file format is used to define GitHub Actions workflows?
- JSON
- YAML
- XML
- HTML
Answer: B. YAML
- True or false – secrets stored in GitHub Actions are encrypted and can be used in workflows for sensitive operations.
- True
- False
Answer: A. True
- What GitHub feature is used to automatically deploy code to a hosting service whenever the main branch is updated?
- GitHub Codespaces
- GitHub Pages
- GitHub Actions
- GitHub Desktop
Answer: C. GitHub Actions
- Fill in the blank – GitHub Actions workflows are triggered by specific ________, such as...