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