action github_list_pulls { label: "List pull requests" description: "List pull requests in a repository." provider: github method: GET path: "/repos/{owner}/{repo}/pulls" scopes: ["repo"] input: @json { { "type": "object", "required": ["owner", "repo"], "additionalProperties": false, "properties": { "owner": { "type": "string" }, "repo": { "type": "string" }, "state": { "type": "string", "enum": ["open", "closed", "all"] }, "head": { "type": "string" }, "base": { "type": "string" }, "sort": { "type": "string", "enum": ["created", "updated", "popularity", "long-running"] }, "direction": { "type": "string", "enum": ["asc", "desc"] }, "per_page": { "type": "integer" }, "page": { "type": "integer" } } } } output: @json { { "type": "array", "items": { "type": "object", "additionalProperties": true } } } }