action-create-pr/action.yml
Julien Fastré 3e47a24f8d Allow to set a token from input (#1)
Reviewed-on: #1
Co-authored-by: Julien Fastré <julien.fastre@champs-libres.coop>
Co-committed-by: Julien Fastré <julien.fastre@champs-libres.coop>
2024-03-11 11:26:05 +00:00

35 lines
1.0 KiB
YAML

name: 'Create pull request'
description: 'Create pull requests in gitea'
runs:
using: 'go'
main: 'main.go'
inputs:
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).
outputs:
pull-request-number:
description: 'The pull request number'
pull-request-url:
description: 'The URL of the pull request.'