2020-05-03 20:46:05 +02:00
|
|
|
# https://help.github.com/en/articles/metadata-syntax-for-github-actions
|
|
|
|
name: 'Import GPG'
|
2020-05-07 20:42:27 +02:00
|
|
|
description: 'GitHub Action to easily import a GPG key'
|
2020-05-03 20:46:05 +02:00
|
|
|
author: 'crazy-max'
|
|
|
|
branding:
|
2020-05-03 22:08:18 +02:00
|
|
|
color: 'yellow'
|
|
|
|
icon: 'lock'
|
2020-05-03 20:46:05 +02:00
|
|
|
|
2020-05-04 20:59:11 +02:00
|
|
|
inputs:
|
2020-09-06 22:03:16 +02:00
|
|
|
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
|
2021-08-10 09:28:13 +02:00
|
|
|
git-config-global:
|
|
|
|
description: 'Set Git config global'
|
|
|
|
default: 'false'
|
|
|
|
required: false
|
2020-09-06 22:03:16 +02:00
|
|
|
git-user-signingkey:
|
2020-05-06 01:21:41 +02:00
|
|
|
description: 'Set GPG signing keyID for this Git repository'
|
|
|
|
default: 'false'
|
2020-05-07 20:42:27 +02:00
|
|
|
required: false
|
2020-09-06 22:03:16 +02:00
|
|
|
git-commit-gpgsign:
|
|
|
|
description: 'Sign all commits automatically. git-user-signingkey needs to be enabled'
|
2020-05-06 01:21:41 +02:00
|
|
|
default: 'false'
|
2020-05-07 20:42:27 +02:00
|
|
|
required: false
|
2020-09-06 22:03:16 +02:00
|
|
|
git-tag-gpgsign:
|
|
|
|
description: 'Sign all tags automatically. git-user-signingkey needs to be enabled'
|
2020-05-06 01:21:41 +02:00
|
|
|
default: 'false'
|
2020-05-07 20:42:27 +02:00
|
|
|
required: false
|
2020-09-06 22:03:16 +02:00
|
|
|
git-push-gpgsign:
|
|
|
|
description: 'Sign all pushes automatically. git-user-signingkey needs to be enabled'
|
2021-08-10 08:46:50 +02:00
|
|
|
default: 'if-asked'
|
2020-05-07 20:42:27 +02:00
|
|
|
required: false
|
2020-09-06 22:03:16 +02:00
|
|
|
git-committer-name:
|
2020-05-05 20:01:45 +02:00
|
|
|
description: 'Commit author''s name'
|
2020-05-07 20:42:27 +02:00
|
|
|
required: false
|
2020-09-06 22:03:16 +02:00
|
|
|
git-committer-email:
|
2020-05-05 20:01:45 +02:00
|
|
|
description: 'Commit author''s email'
|
2020-05-07 20:42:27 +02:00
|
|
|
required: false
|
2020-08-28 16:30:49 -04:00
|
|
|
workdir:
|
|
|
|
description: 'Working directory (below repository root)'
|
|
|
|
default: '.'
|
|
|
|
required: false
|
2020-05-07 20:42:27 +02:00
|
|
|
|
|
|
|
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 20:59:11 +02:00
|
|
|
|
2020-05-03 20:46:05 +02:00
|
|
|
runs:
|
|
|
|
using: 'node12'
|
|
|
|
main: 'dist/index.js'
|
|
|
|
post: 'dist/index.js'
|