new-issue-branch/action.yml
2025-09-29 15:30:08 +03:00

18 lines
638 B
YAML

name: "new-issue-branch"
description: "Creates a git branch from an issue and links it back to the issue."
author: "Mandresy RABENJAHARISON <mandresyrabenj@gmail.com>"
branding:
icon: git-branch
color: purple
runs:
using: "docker"
image: "Dockerfile"
env:
ISSUE_LABELS: ${{ join(gitea.event.issue.labels.*.name, ',') }}
ISSUE_NUMBER: ${{ gitea.event.issue.number }}
ODOO_TICKET_NUMBER: ${{ gitea.event.issue.ref }}
ISSUE_TITLE: ${{ gitea.event.issue.title }}
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
REPO_OWNER: ${{ gitea.event.repository.owner.login }}
REPO_NAME: ${{ gitea.event.repository.name }}