https://github.com/IITC-College/cid-cd-day-1

Goal

Build a complete CI pipeline for this project from scratch. There is no workflow in this repository. You will create the workflow file, define the jobs, and apply controlled event triggering, manual dispatch with inputs, concurrency, and CI skipping.

What You Have

You will create the workflow only. Do not change the app code.

Tasks

Create .github/workflows/ci.yml. Complete every task.

  1. Create the workflow file with a workflow name.
  2. Add three jobs:
  3. Restrict push so the workflow runs only on these branches:
  4. Restrict push so it runs only when files change in these paths:
  5. Restrict pull_request so it runs only when:
  6. Add a workflow_dispatch trigger.
  7. Add workflow_dispatch inputs:
  8. In the summary job, print the selected environment input.
  9. Add workflow level concurrency.