workflow: add GITEA_TOKEN secret for Gitea API access in release workflows

This commit is contained in:
Manuel Weiser 2025-02-21 23:23:16 +01:00
parent 36d50cbe7f
commit cf80adb43c
2 changed files with 7 additions and 1 deletions

View File

@ -2,6 +2,10 @@ name: Gitea Release
on:
workflow_call:
secrets:
GITEA_TOKEN:
description: 'Token für Gitea API-Zugriff'
required: true
jobs:
create-release:

View File

@ -36,4 +36,6 @@ jobs:
gitea-release:
needs: detect-provider
if: needs.detect-provider.outputs.provider == 'gitea'
uses: ./.github/workflows/gitea-release.yml
uses: ./.github/workflows/gitea-release.yml
secrets:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}