What are GitHub Actions and their advantages?
⚡
Quick Answer
GitHub Actions is CI/CD built into GitHub, defined as YAML workflows triggered by repository events. Advantages: no separate server to run, a large marketplace of reusable actions, tight repo integration, and hosted or self-hosted runners.
Detailed Answer
Workflows react to events (push, PR, schedule, manual) and run jobs of steps on runners, with matrix builds, caching, secrets, and environments for gated deploys. The marketplace lets you compose pipelines from prebuilt actions. Watch for supply-chain risk: pin third-party actions to a commit SHA rather than a moving tag.
💡
Interview Tip
Bonus points for the security nuance: pin third-party actions to a SHA to avoid supply-chain compromise.
github-actionsci-cdworkflows