CI/CD & build tooling
GitHub Actions
GitHub Actions is the CI/CD system built into GitHub and now the default for many product companies in Bangalore — often alongside or replacing Jenkins. Writing a basic workflow is easy; senior interviews probe the details that matter in production: event types and their security implications, reusable workflows for dozens of repos, OIDC to AWS instead of stored keys, self-hosted runners on Kubernetes, caching, environments with approvals, and hardening against supply-chain and injection attacks.
After this topic you can
- Build CI/CD workflows with jobs, caching and matrices
- Deploy to AWS without stored keys using OIDC
- Secure workflows against common supply-chain attacks
Lessons
-
1The model: workflows, jobs, steps and runners
- Building blocks
- Anatomy of a workflow
- Contexts and expressions
-
2Events and triggers
- Common events
- Filtering and control
-
3Jobs: dependencies, matrices, conditions and services
- Dependencies and outputs
- Matrix builds
- Conditions, timeouts and resilience
- Service containers and container jobs
-
4Reuse at scale: actions and reusable workflows
- Kinds of actions
- Reusable workflows
- Versioning and pinning
-
5Secrets, environments and OIDC
- Secrets and variables
- The GITHUB_TOKEN and permissions
- Environments and approvals
- OIDC to AWS: no stored access keys
-
6Runners, caching and artifacts
- Runner options
- Caching
- Artifacts
-
7Security hardening
- Script injection
- pull_request_target and workflow_run
- Supply chain
- 8A complete pipeline: Java service to EKS via GitOps
-
9Operating Actions, migrating from Jenkins, troubleshooting
- Debugging
- Jenkins → GitHub Actions mapping
- Cost and limits
-
10Interview questions and model answers
- "How do you authenticate GitHub Actions to AWS?"
- "pull_request vs pull_request_target?"
- "How do you share pipelines across 50 repositories?"
- "How do you secure GitHub Actions?"
- "How would you speed up a slow Actions pipeline?"
- "Composite action vs reusable workflow?"
- "Your self-hosted runners run on EKS — how do you set that up safely?"