chore(changelog): add Gitea env vars to changelog and release scripts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user