feat: ensure PERSONAL_ACCESS_TOKEN is not empty
This commit is contained in:
parent
26deb8e8c8
commit
96298ccccc
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue