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:
|
2021-09-04 19:12:28 -04:00
|
|
|
gpg_private_key:
|
2020-09-06 16:03:16 -04:00
|
|
|
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
|
2023-05-06 12:20:11 -04:00
|
|
|
trust_level:
|
|
|
|
description: "Set key's trust level"
|
|
|
|
required: false
|
2021-09-04 19:12:28 -04:00
|
|
|
git_config_global:
|
2021-08-10 03:28:13 -04:00
|
|
|
description: 'Set Git config global'
|
|
|
|
default: 'false'
|
|
|
|
required: false
|
2021-09-04 19:12:28 -04:00
|
|
|
git_user_signingkey:
|
2020-05-05 19:21:41 -04:00
|
|
|
description: 'Set GPG signing keyID for this Git repository'
|
|
|
|
default: 'false'
|
2020-05-07 14:42:27 -04:00
|
|
|
required: false
|
2021-09-04 19:12:28 -04:00
|
|
|
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'
|
2020-05-07 14:42:27 -04:00
|
|
|
required: false
|
2021-09-04 19:12:28 -04:00
|
|
|
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'
|
2020-05-07 14:42:27 -04:00
|
|
|
required: false
|
2021-09-04 19:12:28 -04:00
|
|
|
git_push_gpgsign:
|
2021-09-04 19:29:51 -04:00
|
|
|
description: 'Sign all pushes automatically'
|
2021-08-10 02:46:50 -04:00
|
|
|
default: 'if-asked'
|
2020-05-07 14:42:27 -04:00
|
|
|
required: false
|
2021-09-04 19:12:28 -04:00
|
|
|
git_committer_name:
|
2020-05-05 14:01:45 -04:00
|
|
|
description: 'Commit author''s name'
|
2020-05-07 14:42:27 -04:00
|
|
|
required: false
|
2021-09-04 19:12:28 -04:00
|
|
|
git_committer_email:
|
2020-05-05 14:01:45 -04:00
|
|
|
description: 'Commit author''s email'
|
2020-05-07 14:42:27 -04:00
|
|
|
required: false
|
2020-08-28 16:30:49 -04:00
|
|
|
workdir:
|
|
|
|
description: 'Working directory (below repository root)'
|
|
|
|
default: '.'
|
|
|
|
required: false
|
2021-10-15 07:40:04 -04:00
|
|
|
fingerprint:
|
|
|
|
description: 'Specific fingerprint to use (subkey)'
|
|
|
|
required: false
|
2020-05-07 14:42:27 -04: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'
|
2022-12-02 02:49:30 -05:00
|
|
|
name:
|
2024-04-29 05:11:31 -04:00
|
|
|
description: 'Primary name associated with the GPG key'
|
2020-05-07 14:42:27 -04:00
|
|
|
email:
|
2024-04-29 05:11:31 -04:00
|
|
|
description: 'Primary email address associated with the GPG key'
|
|
|
|
userids:
|
|
|
|
description: 'All user ids (including primary) associated with the GPG Key'
|
2020-05-04 14:59:11 -04:00
|
|
|
|
2020-05-03 14:46:05 -04:00
|
|
|
runs:
|
2023-09-09 21:43:14 -04:00
|
|
|
using: 'node20'
|
2020-05-03 14:46:05 -04:00
|
|
|
main: 'dist/index.js'
|
|
|
|
post: 'dist/index.js'
|