From 237ce816cc4e167ccd0c1238ba3c43d547a81a4f Mon Sep 17 00:00:00 2001 From: "robin.wieske" Date: Thu, 21 Aug 2025 09:24:54 +0200 Subject: [PATCH] Add action.yaml --- action.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 action.yaml diff --git a/action.yaml b/action.yaml new file mode 100644 index 0000000..bf30c30 --- /dev/null +++ b/action.yaml @@ -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:///api/v1)" + required: true +outputs: + release-url: + description: "URL of the drafted release" +runs: + using: "docker" + image: "Dockerfile"