-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
57 lines (53 loc) · 1.66 KB
/
Copy pathaction.yml
File metadata and controls
57 lines (53 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Git SSH Signing Action
description: Set up git commit and tag signing with ssh signing keys for GitHub Actions workflows
author: PhotoStructure
branding:
icon: lock
color: blue
# Define your inputs here.
inputs:
ssh-signing-key:
description: SSH private signing key to use with signed git commits and git tags
required: true
git-user-name:
description: Git user.name for commits. Must match the SSH key's user name and GitHub username
required: true
git-user-email:
description: Git user.email for commits. Must match the email associated with the GitHub username
required: true
ssh-key-path:
description: Custom path for SSH signing key (defaults to ~/.ssh/signing_key)
required: false
default: "~/.ssh/signing_key"
git-commit-gpgsign:
description: Sign all commits (defaults to true)
required: false
default: "true"
git-tag-gpgsign:
description: Sign all tags (defaults to true)
required: false
default: "true"
git-push-gpgsign:
description: Sign pushes (if-asked, true, or false)
required: false
default: "if-asked"
create-allowed-signers:
description: Create allowed signers file for signature verification
required: false
default: "true"
git-config-scope:
description: Git config scope (local or global). Local is recommended.
required: false
default: "local"
# Define your outputs here.
outputs:
ssh-key-path:
description: Path to the installed SSH signing key
public-key:
description: The SSH public key content
key-fingerprint:
description: The SSH key fingerprint (SHA256)
runs:
using: node24
main: dist/main.js
post: dist/cleanup.js