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 → Create
AI-generatedSummary
Create a new pull request in a specified Codeberg repository by providing the repository owner, repository name, title, head branch (source), and base branch (target).
Inputs
- Authentication — Select the authentication method: Access Token or OAuth2.
- Owner (required) — The owner of the repository where the pull request will be created.
- Repository Name (required) — The name of the repository where the pull request will be created.
- Title (required) — The title of the pull request.
- Head Branch (required) — The name of the branch where your changes are implemented (source branch).
- Base Branch (required) — The name of the branch you want the changes pulled into (target branch).
- Additional Fields — Optional fields such as assignees (comma-separated usernames), body (detailed description), labels (comma-separated label IDs), and milestone (numeric milestone ID) to include in the pull request.
Output shape
a single record
Returns the created pull request object as JSON, including all relevant pull request details such as ID, URLs, state, and metadata.
Examples
Example 1: Create a pull request to merge 'feature-branch' into 'main'
Set the owner and repository, specify the pull request title, head branch as 'feature-branch', base branch as 'main', and optionally add assignees, labels, body, and milestone.