2020-05-03 14:46:05 -04:00
|
|
|
# https://help.github.com/en/articles/metadata-syntax-for-github-actions
|
|
|
|
name: 'Import GPG'
|
2020-05-07 14:42:27 -04:00
|
|
|
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
|
|
|
|
2020-05-04 14:59:11 -04:00
|
|
|
inputs:
|
2020-05-05 19:21:41 -04:00
|
|
|
git_user_signingkey:
|
|
|
|
description: 'Set GPG signing keyID for this Git repository'
|
|
|
|
default: 'false'
|
2020-05-07 14:42:27 -04:00
|
|
|
required: false
|
2020-05-05 19:21:41 -04:00
|
|
|
git_commit_gpgsign:
|
|
|
|
description: 'Sign all commits automatically. git_user_signingkey needs to be enabled'
|
|
|
|
default: 'false'
|
2020-05-07 14:42:27 -04:00
|
|
|
required: false
|
2020-05-05 19:21:41 -04:00
|
|
|
git_tag_gpgsign:
|
|
|
|
description: 'Sign all tags automatically. git_user_signingkey needs to be enabled'
|
|
|
|
default: 'false'
|
2020-05-07 14:42:27 -04:00
|
|
|
required: false
|
2020-05-05 19:21:41 -04:00
|
|
|
git_push_gpgsign:
|
|
|
|
description: 'Sign all pushes automatically. git_user_signingkey needs to be enabled'
|
2020-05-04 14:59:11 -04:00
|
|
|
default: 'false'
|
2020-05-07 14:42:27 -04:00
|
|
|
required: false
|
2020-05-05 14:01:45 -04:00
|
|
|
git_committer_name:
|
|
|
|
description: 'Commit author''s name'
|
2020-05-07 14:42:27 -04:00
|
|
|
required: false
|
2020-05-05 14:01:45 -04:00
|
|
|
git_committer_email:
|
|
|
|
description: 'Commit author''s email'
|
2020-05-07 14:42:27 -04:00
|
|
|
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-04 14:59:11 -04:00
|
|
|
|
2020-05-03 14:46:05 -04:00
|
|
|
runs:
|
|
|
|
using: 'node12'
|
|
|
|
main: 'dist/index.js'
|
|
|
|
post: 'dist/index.js'
|