-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
62 lines (59 loc) · 1.7 KB
/
action.yml
File metadata and controls
62 lines (59 loc) · 1.7 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
58
59
60
61
62
name: "Resolve Git References"
description: "Smart resolution of git details. Validates inputs, resolves SHA from ref, and outputs comprehensive metadata."
inputs:
repository:
description: "Repository in format owner/repo"
required: true
token:
description: "GitHub token with repo access"
required: true
branch:
description: "Branch name. If provided, verified against SHA/Ref."
required: false
default: ""
sha:
description: "Commit SHA. If provided, used as verification target."
required: false
default: ""
ref:
description: "Git ref (e.g., refs/heads/main). If provided, verified."
required: false
default: ""
ref_name:
description: "Reference name override"
required: false
default: ""
outputs:
sha:
description: "Full commit SHA (40 characters)"
sha_short:
description: "Short commit SHA (7 characters)"
ref:
description: "Full git reference (e.g., refs/heads/main)"
ref_name:
description: "Reference name without prefix (e.g., main)"
branch:
description: "Branch name (if resolved)"
tags:
description: "Comma-separated list of tags pointing to this commit"
tag:
description: "First tag pointing to this commit (if any)"
commit_message:
description: "Commit message (first line)"
commit_message_full:
description: "Full commit message"
author_name:
description: "Author Name"
author_email:
description: "Author Email"
author_date:
description: "Author Date (ISO 8601)"
committer_name:
description: "Committer Name"
committer_email:
description: "Committer Email"
committer_date:
description: "Committer Date (ISO 8601)"
runs:
using: "node24"
main: "dist/index.js"