{
  "name": "open-github-pr",
  "title": "Open a GitHub pull request",
  "category": "Git",
  "tags": [
    "curl",
    "git"
  ],
  "version": "1.0.0",
  "date": "2026-07-17",
  "notes": "Initial release.",
  "latest": false,
  "installable": false,
  "url": "https://catalog.dagweave.com/api/v1/items/open-github-pr/1.0.0.json",
  "entrypoint": "open-pr",
  "parameters": [
    {
      "name": "head",
      "title": "Head branch",
      "description": "The branch that contains the changes (source).",
      "type": "string",
      "required": true
    },
    {
      "name": "repo",
      "title": "Repository",
      "description": "Target repository as owner/name.",
      "type": "string",
      "required": true,
      "example": "octocat/hello-world"
    },
    {
      "name": "title",
      "title": "PR title",
      "type": "string",
      "required": true
    },
    {
      "name": "base",
      "title": "Base branch",
      "description": "The branch to merge into (target).",
      "type": "string",
      "required": false,
      "default": "main"
    },
    {
      "name": "body",
      "title": "PR body",
      "type": "string",
      "required": false,
      "default": ""
    },
    {
      "name": "token-secret-key",
      "title": "Token secret key",
      "type": "string",
      "required": false,
      "default": "token"
    },
    {
      "name": "token-secret-name",
      "title": "Token secret name",
      "description": "Kubernetes Secret holding a GitHub token with pull-request write scope.",
      "type": "string",
      "required": false,
      "default": "github-token"
    }
  ],
  "images": [
    {
      "ref": "curlimages/curl@sha256:3fb7e13e5d179a845c97d78204f3f1064d1907037f26a3ebf91710571151fd93",
      "repository": "curlimages/curl",
      "tag": "8.23.0",
      "digest": "sha256:3fb7e13e5d179a845c97d78204f3f1064d1907037f26a3ebf91710571151fd93"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/open-github-pr",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
