-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yaml
34 lines (34 loc) · 848 Bytes
/
action.yaml
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
---
name: 'Get Latest Commit'
description: >-
Get the latest commit hash and description from another repository and output that for use in
other actions
branding:
icon: 'hash'
color: 'blue'
inputs:
owner:
description: 'The Github user or organization that owns the repository'
required: false
repo:
description: 'The repository name'
required: false
repository:
description: 'The repository name in full'
required: false
branch:
description: 'Branch to get last commit for (e.g. dev)'
required: false
token:
description: 'The GitHub token or personal access token'
required: false
outputs:
shorthash:
description: 'Short commit hash'
hash:
description: 'Full commit hash'
description:
description: 'Latest commit message'
runs:
using: 'node20'
main: 'dist/index.js'