Skip to content

Commit 5701df1

Browse files
committed
Fix inputs
1 parent e097cc9 commit 5701df1

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
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

action.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,17 @@ branding:
77
icon: 'lock'
88

99
inputs:
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'

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ async function run(): Promise<void> {
1111
return;
1212
}
1313

14+
const git_user_signingkey = /true/i.test(core.getInput('git_user_signingkey'));
1415
const git_commit_gpgsign = /true/i.test(core.getInput('git_commit_gpgsign'));
1516
const git_tag_gpgsign = /true/i.test(core.getInput('git_tag_gpgsign'));
1617
const git_push_gpgsign = /true/i.test(core.getInput('git_push_gpgsign'));
17-
const git_user_signingkey = /true/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 =

0 commit comments

Comments
 (0)