Interview Prep/GitHub Actions/Rapid-fire Commands & Syntax

Rapid-fire: what would you check first for each symptom?

IntermediateConceptRapid-fire Commands & Syntax
Answer
  • Workflow never starts: file location and YAML validity, on filters, workflow on default branch, Actions enabled, [skip ci].
  • Job stuck "Waiting for a runner": runs-on labels, runner online and in an allowed group, concurrency limit.
  • Resource not accessible by integration: permissions block, fork PR read-only token.
  • OIDC Not authorized to perform sts:AssumeRoleWithWebIdentity: id-token: write, trust policy sub vs actual claim (environment form).
  • Cache never hits: key includes something that changes every run, or branch scope.
  • Deploy job skipped: a needs dependency skipped or failed; check needs.*.result.
All GitHub Actions questions Roadmap: GitHub Actions

More on Rapid-fire Commands & Syntax