# Forge

ForgeService connects komrad to forges and reads and changes pull requests on them.

`komrad.forge.v1.ForgeService`

-   [`list_forges`](https://komrad.dev/latest/api/forge/list-forges.md)
    
    List the forges komrad is connected to and the account komrad uses on each.
    
-   [`check_forges`](https://komrad.dev/latest/api/forge/check-forges.md)
    
    Check that each connected forge still accepts its credential, and record the result on the connection.
    
-   [`list_forge_pull_requests`](https://komrad.dev/latest/api/forge/list-forge-pull-requests.md)
    
    List a repository's pull requests from its forge: every one from a branch, or the open ones.
    
-   [`plan_forge_pull_request_merge`](https://komrad.dev/latest/api/forge/plan-forge-pull-request-merge.md)
    
    Read the merge methods a pull request's forge offers, whether its base branch allows each, and the commit message the forge would write for each.
    
-   [`merge_forge_pull_request`](https://komrad.dev/latest/api/forge/merge-forge-pull-request.md)
    
    Merge a pull request on its forge, by the method and with the message asked for.
    
-   [`set_forge_pull_request_draft`](https://komrad.dev/latest/api/forge/set-forge-pull-request-draft.md)
    
    Mark a pull request as a draft or as ready for review on its forge.
    
-   [`set_forge_pull_request_auto_merge`](https://komrad.dev/latest/api/forge/set-forge-pull-request-auto-merge.md)
    
    Turn a pull request's auto-merge on or off on its forge.
    
-   [`set_forge_pull_request_approval`](https://komrad.dev/latest/api/forge/set-forge-pull-request-approval.md)
    
    Approve a pull request as komrad's credential, or withdraw that approval.
    
-   [`request_forge_pull_request_rereview`](https://komrad.dev/latest/api/forge/request-forge-pull-request-rereview.md)
    
    Ask some of a pull request's past reviewers to review it again.
    
-   [`read_forge_pull_request_text`](https://komrad.dev/latest/api/forge/read-forge-pull-request-text.md)
    
    Read a pull request's title and description from its forge.
    
-   [`edit_forge_pull_request`](https://komrad.dev/latest/api/forge/edit-forge-pull-request.md)
    
    Change a pull request's title, description or both on its forge.
    
-   [`disconnect_forge`](https://komrad.dev/latest/api/forge/disconnect-forge.md)
    
    Disconnect a forge and forget its credential.
