File tree Expand file tree Collapse file tree 4 files changed +14
-5
lines changed
Expand file tree Collapse file tree 4 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 3737 name : Import GPG private key
3838 uses : ./
3939 with :
40- git_user_gpgsign : true
40+ git_user_signingkey : true
4141 git_commit_gpgsign : true
4242 git_tag_gpgsign : true
4343 git_push_gpgsign : true
Original file line number Diff line number Diff line change @@ -7,8 +7,17 @@ branding:
77 icon : ' lock'
88
99inputs :
10- git_gpgsign :
11- description : ' Enable signing for this Git repository'
10+ git_user_signingkey :
11+ description : ' Set GPG signing keyID for this Git repository'
12+ default : ' false'
13+ git_commit_gpgsign :
14+ description : ' Sign all commits automatically. git_user_signingkey needs to be enabled'
15+ default : ' false'
16+ git_tag_gpgsign :
17+ description : ' Sign all tags automatically. git_user_signingkey needs to be enabled'
18+ default : ' false'
19+ git_push_gpgsign :
20+ description : ' Sign all pushes automatically. git_user_signingkey needs to be enabled'
1221 default : ' false'
1322 git_committer_name :
1423 description : ' Commit author'' s name'
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ async function run(): Promise<void> {
1111 return ;
1212 }
1313
14+ const git_user_signingkey = / t r u e / i. test ( core . getInput ( 'git_user_signingkey' ) ) ;
1415 const git_commit_gpgsign = / t r u e / i. test ( core . getInput ( 'git_commit_gpgsign' ) ) ;
1516 const git_tag_gpgsign = / t r u e / i. test ( core . getInput ( 'git_tag_gpgsign' ) ) ;
1617 const git_push_gpgsign = / t r u e / i. test ( core . getInput ( 'git_push_gpgsign' ) ) ;
17- const git_user_signingkey = / t r u e / i. test ( core . getInput ( 'git_user_signingkey' ) ) ;
1818 const git_committer_name : string =
1919 core . getInput ( 'git_committer_name' ) || process . env [ 'GITHUB_ACTOR' ] || 'github-actions' ;
2020 const git_committer_email : string =
You can’t perform that action at this time.
0 commit comments