action-create-pr/action.yml

35 lines
1.0 KiB
YAML
Raw Permalink 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:
2024-03-11 10:48:05 +00:00
token:
description: 'Access token which allow to create pull requests'
default: ${{ github.token }}
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).
2024-03-11 10:48:05 +00:00
outputs:
pull-request-number:
description: 'The pull request number'
pull-request-url:
description: 'The URL of the pull request.'