forked from Sibz/github-status-action
-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
39 lines (39 loc) · 1.29 KB
/
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
30
31
32
33
34
35
36
37
38
39
name: 'github-status-action'
description: 'Adds a check status on a commit, GitHub reports the last status added for a particular context.'
author: 'Sibz@EntityZero'
branding:
icon: 'check'
color: 'green'
inputs:
authToken:
description: 'Use secrets.GITHUB_TOKEN or your own token if you need to trigger other workflows the use "on: status"'
required: true
state:
description: 'The status of the check: success, error, failure or pending'
required: true
context:
description: 'The context, this is displayed as the name of the check'
default: 'default'
required: false
description:
description: 'Short text explaining the status of the check'
default: ''
required: false
owner:
description: 'Repostory owner, defaults to context github.repository_owner if omited'
default: ${{ github.repository_owner }}
required: false
repository:
description: 'Repository, default to context github.repository if omited'
default: ${{ github.repository }}
required: false
sha:
description: 'SHA of commit to update status on, defaults to context github.sha'
default: ${{ github.sha }}
required: false
target_url:
description: 'URL/URI to use for further details.'
required: false
runs:
using: 'node12'
main: 'dist/index.js'