Sign in
Explore
Add-ons · HookEveryday codingReviewedRuns shell commandsMakes network calls

session-auto-commit/hooks.json

Commits and pushes changes when a Copilot coding agent session ends.

Kind
Hook
Works with
GitHub Copilot
Source
Awesome Copilot @ d85f762d6e52
Path
hooks/session-auto-commit/hooks.json
License
MIT
Jobs
Git workflow, Automation
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
{
  "version": 1,
  "hooks": {
    "sessionEnd": [
      {
        "type": "command",
        "bash": ".github/hooks/session-auto-commit/auto-commit.sh",
        "timeoutSec": 30
      }
    ]
  }
}