Interview Prep/GitHub Actions/Pipeline Design & Triggers

You want CI results visible to reviewers without opening logs. What do you add?

BeginnerScenarioPipeline Design & Triggers
Answer

Situation read → Improve signal on the PR page.

What I'd do →

  1. Annotations from linters (eslint -f @microsoft/eslint-formatter-sarif uploaded to code scanning, or problem matchers).
  2. Test summary in $GITHUB_STEP_SUMMARY (pass, fail, slowest tests).
  3. Coverage comment via a workflow_run job (works for forks too).
  4. Upload HTML reports as artifacts with short retention.

Why → Reviewers see failures inline on the diff and the summary page.

Interview tip → Mention ::error file=,line=:: annotations; it shows you know workflow commands.

All GitHub Actions questions Roadmap: GitHub Actions

More on Pipeline Design & Triggers