From 85901d62fc253965d706732cf748a26801e32e84 Mon Sep 17 00:00:00 2001 From: "Max P." Date: Sun, 14 Dec 2025 22:03:53 +0100 Subject: [PATCH] chore(changelog): add Gitea env vars to changelog and release scripts --- action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/action.yml b/action.yml index 8d1cdf4..4bdfb77 100644 --- a/action.yml +++ b/action.yml @@ -66,6 +66,9 @@ runs: - name: Generate and commit changelog (unreleased) if: steps.detect.outputs.version_changed == 'false' shell: bash + env: + GITEA_TOKEN: ${{ inputs.token || '' }} + GITEA_API_URL: ${{ github.server_url }}/api/v1 run: | ${{ github.action_path }}/scripts/generate-unreleased-changelog.sh @@ -74,5 +77,7 @@ runs: shell: bash env: RELEASE_PUBLISH_TOKEN: ${{ inputs.token || '' }} + GITEA_TOKEN: ${{ inputs.token || '' }} + GITEA_API_URL: ${{ github.server_url }}/api/v1 run: | ${{ github.action_path }}/scripts/release-from-version.sh