Add action.yaml

This commit is contained in:
Robin Wieske 2025-08-21 09:24:54 +02:00
parent 9bbe54b435
commit 237ce816cc

18
action.yaml Normal file
View file

@ -0,0 +1,18 @@
name: "Forgejo Release Drafter"
description: "Custom action that drafts releases in Forgejo using a Python script"
inputs:
forgejo-token:
description: "API token for Forgejo"
required: true
repo:
description: "Forgejo repo (e.g. org/project)"
required: true
api-endpoint:
description: "Forgejo api endpoint (e.g. https://<your-domain>/api/v1)"
required: true
outputs:
release-url:
description: "URL of the drafted release"
runs:
using: "docker"
image: "Dockerfile"