https://github.com/IITC-College/cicd-lab03-events-triggering

Project Structure

src/
  domain/
  repositories/
  services/
  api/
  config/
  app.ts
  server.ts

tests/

.github/
  workflows/
    ci.yml

Run locally:

npm install
npm run lint
npm run typecheck
npm run build
npm test

Current workflow trigger:

on:
  push:
  pull_request:

Part 1 — Restrict push

Tasks

Update the push trigger:


Verification

README Test

  1. Modify README.md
  2. Push to main
  3. Verify workflow does NOT run.