-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
31 lines (31 loc) · 864 Bytes
/
action.yml
File metadata and controls
31 lines (31 loc) · 864 Bytes
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
name: 'Last Successful Commit Hash'
description:
'Get the commit hash of the last successful run for the given workflow and
branch'
author: 'Tyler Milner'
inputs:
github-token:
description: 'The GitHub token. Defaults to `github.token`'
required: true
default: ${{ github.token }}
workflow-id:
description:
'The workflow id or workflow file name to use for determining the last
successful run'
required: true
branch:
description: 'The branch to use for determining the last successful run'
required: true
debug:
description: 'Whether or not the action should log debug information'
required: false
default: false
outputs:
commit-hash:
description: 'The commit hash for the last successful workflow run'
runs:
using: node20
main: dist/index.js
branding:
icon: 'git-commit'
color: 'blue'