gpg/action.yml

62 lines
1.7 KiB
YAML
Raw Permalink Normal View History

2020-05-03 14:46:05 -04:00
# https://help.github.com/en/articles/metadata-syntax-for-github-actions
name: 'Import GPG'
description: 'GitHub Action to easily import a GPG key'
2020-05-03 14:46:05 -04:00
author: 'crazy-max'
branding:
2020-05-03 16:08:18 -04:00
color: 'yellow'
icon: 'lock'
2020-05-03 14:46:05 -04:00
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
git_config_global:
description: 'Set Git config global'
default: 'false'
required: false
git_user_signingkey:
2020-05-05 19:21:41 -04:00
description: 'Set GPG signing keyID for this Git repository'
default: 'false'
required: false
git_commit_gpgsign:
2021-09-04 19:29:51 -04:00
description: 'Sign all commits automatically'
2020-05-05 19:21:41 -04:00
default: 'false'
required: false
git_tag_gpgsign:
2021-09-04 19:29:51 -04:00
description: 'Sign all tags automatically'
2020-05-05 19:21:41 -04:00
default: 'false'
required: false
git_push_gpgsign:
2021-09-04 19:29:51 -04:00
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
2020-08-28 16:30:49 -04:00
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'
email:
description: 'Email address associated with the GPG key'
2020-05-03 14:46:05 -04:00
runs:
using: 'node12'
main: 'dist/index.js'
post: 'dist/index.js'