new-issue-branch/action.yml
2025-07-08 17:36:40 +03:00

41 lines
1.0 KiB
YAML

name: "Create branch in Gitea"
description: "Creates a git branch from an issue and links it back."
author: "Mandresy RABENJAHARISON <mandresyrabenj@gmail.com>"
branding:
icon: git-branch
color: purple
inputs:
issue_labels:
description: "Issue Labels."
required: true
issue_number:
description: "Issue Number."
required: true
issue_title:
description: "Issue Title."
required: true
gitea_token:
description: "Gitea Access Token."
required: true
gitea_url:
description: "Gitea Instance URL."
required: true
repo_owner:
description: "Git Repository Owner."
required: true
repo_name:
description: "Repository Name."
required: true
runs:
using: "docker"
image: "Dockerfile"
env:
ISSUE_LABELS: ${{ inputs.issue_labels }}
ISSUE_NUMBER: ${{ inputs.issue_number }}
ISSUE_TITLE: ${{ inputs.issue_title }}
GITEA_TOKEN: ${{ inputs.gitea_token }}
GITEA_URL: ${{ inputs.gitea_url }}
REPO_OWNER: ${{ inputs.repo_owner }}
REPO_NAME: ${{ inputs.repo_name }}