-
-
Notifications
You must be signed in to change notification settings - Fork 78
/
action.yml
66 lines (63 loc) · 1.79 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# https://help.github.com/en/articles/metadata-syntax-for-github-actions
name: 'Import GPG'
description: 'GitHub Action to easily import a GPG key'
author: 'crazy-max'
branding:
color: 'yellow'
icon: 'lock'
inputs:
gpg_private_key:
description: 'GPG private key exported as an ASCII armored version or its base64 encoding'
required: true
passphrase:
description: 'Passphrase of the GPG private key'
required: false
trust_level:
description: "Set key's trust level"
required: false
git_config_global:
description: 'Set Git config global'
default: 'false'
required: false
git_user_signingkey:
description: 'Set GPG signing keyID for this Git repository'
default: 'false'
required: false
git_commit_gpgsign:
description: 'Sign all commits automatically'
default: 'false'
required: false
git_tag_gpgsign:
description: 'Sign all tags automatically'
default: 'false'
required: false
git_push_gpgsign:
description: 'Sign all pushes automatically'
default: 'if-asked'
required: false
git_committer_name:
description: 'Commit author''s name'
required: false
git_committer_email:
description: 'Commit author''s email'
required: false
workdir:
description: 'Working directory (below repository root)'
default: '.'
required: false
fingerprint:
description: 'Specific fingerprint to use (subkey)'
required: false
outputs:
fingerprint:
description: 'Fingerprint of the GPG key (recommended as user ID)'
keyid:
description: 'Low 64 bits of the X.509 certificate SHA-1 fingerprint'
name:
description: 'Name associated with the GPG key'
email:
description: 'Email address associated with the GPG key'
runs:
using: 'node20'
main: 'dist/index.js'
post: 'dist/index.js'