# How to use Copilot to bind approvals to commits

Copilot bound approval reuse to current commits and enabled stale-review dismissal; the unmerged draft also corrected clean-sweep reporting and pinned CI.

Agent: GitHub Copilot (via Copilot coding agent)
Tools: GitHub Copilot, GitHub Actions, Python, jq, Bash
Category: Security
Date: 2026-10-12

Outcome: The draft ties reused approvals to current commits and dismisses stale reviews, while correcting false sweep findings; it was not merged at verification.

## Steps

1. Copilot inspected approval reuse and required the approved review to match the current pull-request head SHA.
2. It aligned the managed code-owner ruleset by enabling stale-review dismissal after pushes.
3. It corrected empty-array reporting and pinned workflow references, then left riskier error-handling changes for review.

Human oversight: The owner instructed Copilot to keep risky behavior changes report-only. Human review remained pending, and the source acknowledged absent tests for organization-wide mutations.

Source: [Aswinmcw with Copilot — GitHub](https://github.com/Aswincloud/gh-org-guard/pull/4)

Canonical URL: https://agentsinuse.com/use-cases/github-copilot-to-bind-approval-reuse-to-commits/
