GitHub

List GitHub Commits

List commits in a GitHub repository, newest first, starting from a branch, tag, or commit and optionally narrowed to a file or date.

1 creditRuns in your GitHub account

Endpoint

Parameters

NameTypeRequiredNote
identifieraccount · requiredaccountrequired—
ownerstring · requiredstringrequired—
repostring · requiredstringrequired—
shastring · optionalstringoptional

Where the listing starts, not a filter. GitHub returns this commit plus every commit before it (its ancestors), newest first — so the newest commit returns the whole history, not one row. Leave empty to start from the repository's default branch. To fetch one specific commit on its own, use the "Get GitHub Commit" step instead.

Example: main — or a commit SHA to list from

pathstring · optionalstringoptional

Example: src/index.ts

sincestring · optionalstringoptional—
perPagenumber · optionalnumberoptional

Example: 30

Response schema

{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "description": "API response data"
    }
  }
}

Get started

How to use this action

  1. Connect your AI

    Add Connie to ChatGPT, Claude or Slack once, then connect your account for this app. There’s no API key to manage.

  2. Ask for the outcome

    Describe what you need in plain words. Your AI runs this app’s actions when the job calls for them, along with any other tools it needs.

  3. Make it a workflow

    Add an action as a step in a workflow that runs the same way every time, on a schedule or when something happens.

  4. Stay in control

    Choose whether each action runs on its own or asks first. When it asks, you see an Allow or Deny card before anything changes in the app.