feat: ensure PERSONAL_ACCESS_TOKEN is not empty

This commit is contained in:
Michael Sasser 2024-12-27 17:01:04 +01:00
parent 26deb8e8c8
commit 96298ccccc
Signed by: michael
GPG key ID: 5F653AC7631F5151

View file

@ -48,6 +48,13 @@ runs:
run: |
echo '::group::Prepared Data'
#
# PAT
#
if [ -n '${{ inputs.PERSONAL_ACCESS_TOKEN }}' ]; then
echo '::error title=PAT empty::You need to specify the input PERSONAL_ACCESS_TOKEN. Currently, it is an empty string.'
exit 1
fi
#
# Package