Interview Prep/Git & GitHub/Scale, Submodules, LFS and GitHub Automation

You want issues and PRs labelled automatically and stale ones closed.

BeginnerScenarioScale, Submodules, LFS and GitHub Automation
Answer

Situation read → Housekeeping should not rely on people remembering.

What I'd do →

  1. Use actions/labeler with a .github/labeler.yml mapping paths to labels.
  2. Use actions/stale on a schedule to warn and close inactive items.
  3. Use issue forms and PR templates to collect the right data.
  4. Add the workflows with minimal permissions (issues: write, pull-requests: write).

Why → Automation keeps the backlog usable with no human effort.

Interview tip → Exempt labels such as security and pinned from stale closing.

All Git & GitHub questions Roadmap: Git & GitHub

More on Scale, Submodules, LFS and GitHub Automation