File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ inputs:
7272    description : " Manually specify the desired increment" 
7373    required : false 
7474  check_consistency :
75-     default : false 
75+     default : ' false' 
7676    description : " check consistency among versions defined in commitizen configuration and version_files" 
7777    required : false 
7878  gpg_sign :
@@ -82,10 +82,9 @@ inputs:
8282      crazy-max/ghaction-import-gpg) 
8383required : false 
8484    default : " false" 
85-   gpg_private_key :
85+   git_signingkey :
8686    description : > 
87-       The GPG private key to sign commits and tags (for git operations). `gpg_sign` must 
88-       be set to true. 
87+       The UID for the GPG key git will use to sign commits and tags (for git operations). `gpg_sign` must be set to true. 
8988required : false 
9089  debug :
9190    description : " If true, prints debug output to GitHub Actions stdout." 
Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ echo "Git name: $(git config --get user.name)"
1515echo  " Git email: $( git config --get user.email) " 
1616
1717if  [[ $INPUT_GPG_SIGN  ==  ' true' ;  then 
18-   if  [[ -z  $INPUT_GPG_PRIVATE_KEY   ]];  then 
19-     echo  ' Missing input "gpg_private_key ".' >&2 
18+   if  [[ -z  $INPUT_GIT_SIGNINGKEY   ]];  then 
19+     echo  ' Missing input "git_signingkey ".' >&2 
2020    exit  2
2121  fi 
2222  echo  " Configuring GPG for signing commits and tags..." 
2323  git config --local commit.gpgsign true 
2424  git config --local tag.gpgsign true 
25-   git config --local user.signingkey " ${INPUT_GPG_PRIVATE_KEY } " 
25+   git config --local user.signingkey " ${INPUT_GIT_SIGNINGKEY } " 
2626  echo  " Git sign commits?: $( git config --get commit.gpgsign) " 
2727  echo  " Git sign tags?: $( git config --get tag.gpgsign) " 
2828fi 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments