feat: implement issue #508 — Compliance: stub-surface-drift-pr-auto-review.yml-concurrency

Merged
DO
6d ago
+816-0

Problem

Compliance: stub-surface-drift-pr-auto-review.yml-concurrency

From the issue: Category: ci-workflows Severity: warning Check: stub-surface-drift-pr-auto-review.yml-concurrency

Risk

Medium — changes GitHub Actions workflow behavior, which is exercised only post-merge; verify via the affected workflow runs.

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

Watch the affected workflow run(s) in the Actions tab and this PR's Lint check for regressions.

Closes #508

Summary by CodeRabbit

  • Chores
    • Runs triggered by check_suite or workflow_run events associated with a pull request are grouped by pull request number, and newer runs in the same group cancel in-progress runs. Other events use unique run groups and do not cancel in-progress runs.
  • Tests
    • Added regression checks for workflow run grouping, cancellation rules, and unique run ID fallbacks.
    • Included the regression checks in the continuous integration workflow.