action-create-pr/action.yml

31 lines
950 B
YAML
Raw Normal View History

2024-02-20 21:17:21 +00:00
name: 'Create pull request'
description: 'Create pull requests in gitea'
runs:
using: 'go'
main: 'main.go'
inputs:
title:
required: false
description: The title of the pull request
default: Changes by create-pull-request action
body:
required: false
description: The body of the pull request
default: Automated changes by create-pull-request Gitea action
labels:
description: 'A comma or newline separated list of labels.'
assignees:
description: 'A comma or newline separated list of assignees (GitHub usernames).'
base:
description: >
The pull request base branch (the one into which the new code will be pushed).
required: true
head:
description: >
The pull request head branch (the one within the new code is developed).
outputs:
pull-request-number:
description: 'The pull request number'
pull-request-url:
description: 'The URL of the pull request.'