fix(action): ensure fallback for release token input
Some checks failed
Auto Changelog & Release / release (push) Failing after 2s
Some checks failed
Auto Changelog & Release / release (push) Failing after 2s
- Adds a fallback to an empty string for the release token input to prevent potential issues when the input is undefined.
This commit is contained in:
@@ -51,5 +51,5 @@ runs:
|
||||
if: steps.detect.outputs.version_changed == 'true' && github.ref == 'refs/heads/main'
|
||||
shell: bash
|
||||
env:
|
||||
RELEASE_PUBLISH_TOKEN: ${{ inputs.token }}
|
||||
RELEASE_PUBLISH_TOKEN: ${{ inputs.token || '' }}
|
||||
run: bash ${{ github.action_path }}/scripts/release-from-version.sh
|
||||
|
Reference in New Issue
Block a user