feat: implement issue #1193 — SonarCloud: shell script hygiene
Closed
DO
7d ago+1346+1346+0123456789012345678901234567890123456789-1198-1198-0123456789012345678901234567890123456789
Problem
SonarCloud: shell script hygiene
From the issue: 1212 open SonarCloud finding(s) in petry-projects/.github, worst severity CRITICAL. Generated by the org SonarCloud Audit.
Risk
Low — changes automation shell logic under scripts/, covered by shellcheck (--severity=warning) and the bats suite.
Test plan
No test files were added or updated. Verification: bash scripts/dev-lead-lint.sh (shellcheck --severity=warning) ran pre-commit; the existing CI (bats + lint) guards the change.
Rollback
Revert this PR. No non-revertible side effects (no tags, migrations, or external state).
Monitoring
This PR's Lint (shellcheck) and bats checks show pass/fail; watch subsequent dev-lead / pr-review runs for behavioral regressions.
Closes #1193