mirror of
https://github.com/crazy-max/ghaction-import-gpg.git
synced 2024-11-22 13:00:56 -05:00
48 lines
1.4 KiB
YAML
48 lines
1.4 KiB
YAML
# 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:
|
|
git_user_signingkey:
|
|
description: 'Set GPG signing keyID for this Git repository'
|
|
default: 'false'
|
|
required: false
|
|
git_commit_gpgsign:
|
|
description: 'Sign all commits automatically. git_user_signingkey needs to be enabled'
|
|
default: 'false'
|
|
required: false
|
|
git_tag_gpgsign:
|
|
description: 'Sign all tags automatically. git_user_signingkey needs to be enabled'
|
|
default: 'false'
|
|
required: false
|
|
git_push_gpgsign:
|
|
description: 'Sign all pushes automatically. git_user_signingkey needs to be enabled'
|
|
default: 'false'
|
|
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
|
|
|
|
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'
|
|
|
|
runs:
|
|
using: 'node12'
|
|
main: 'dist/index.js'
|
|
post: 'dist/index.js'
|