-
Notifications
You must be signed in to change notification settings - Fork 13
/
action.yml
29 lines (29 loc) · 827 Bytes
/
action.yml
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
name: 'last-successful-build-action'
description: 'Action to find the sha of the last successful workflow of a branch.'
author: 'Samhammer AG'
branding:
icon: rewind
color: blue
inputs:
token:
description: 'GITHUB_TOKEN or a repo scoped PAT.'
default: ${{ github.token }}
required: true
branch:
description: 'Branch for the workflow to look for.'
required: true
workflow:
description: 'Workflow name to look for.'
required: false
verify:
description: 'Verify SHA of workflow run commit against list of commit SHAs in repository'
required: false
default: 'false'
outputs:
sha:
description: 'Sha of the workflow-run matching the requirements.'
run-id:
description: 'Id of the workflow-run matching the requirements.'
runs:
using: 'node20'
main: 'dist/index.js'