Actions56
- Repository Actions
- Issue Actions
- Pull Request Actions
- Organization Actions
- User Actions
- Comment Actions
- Label Actions
- Milestone Actions
- Release Actions
- Branch Actions
- File Actions
Pull Request → Update
AI-generatedSummary
Update an existing pull request in a Codeberg repository by specifying its number and the repository details, modifying fields such as assignees, base branch, body, labels, milestone, state, and title.
Inputs
- Owner (required) — The owner of the repository containing the pull request.
- Repository Name (required) — The name of the repository containing the pull request.
- Pull Request Number (required) — The number identifier of the pull request to update.
- Update Fields — A collection of fields to update on the pull request, including Assignees (comma-separated string), Base Branch name, Body content, Labels (comma-separated IDs), Milestone ID, State (open or closed), and Title.
Output shape
a single record
Returns the updated pull request object as JSON.
Examples
Example 1: Update pull request title and state
Set Owner to 'my-org', Repository Name to 'my-repo', Pull Request Number to 42, and Update Fields with Title 'Updated title' and State 'closed'.