diff --git a/action.yml b/action.yml index 0bf9190..d2fa1e9 100644 --- a/action.yml +++ b/action.yml @@ -46,16 +46,15 @@ runs: id: prepared shell: bash run: | - echo '::group::Prepared Data' - # # PAT # - if [ -n '${{ inputs.PERSONAL_ACCESS_TOKEN }}' ]; then + if [ -z '${{ 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 + echo '::group::Prepared Data' # # Package #