mirror of
https://github.com/crazy-max/ghaction-import-gpg.git
synced 2024-11-22 13:00:56 -05:00
106dc525b1
Move PASSPHRASE env var to passphrase input Rename git_user_signingkey input to git-user-signingkey Rename git_commit_gpgsign input to git-commit-gpgsign Rename git_tag_gpgsign input to git-tag-gpgsign Rename git_push_gpgsign input to git-push-gpgsign Rename git_committer_name input to git-committer-name Rename git_committer_email input to git-committer-email
54 lines
1.6 KiB
YAML
54 lines
1.6 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:
|
|
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-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'
|