generated from myrotvorets/ts-action-template
-
Notifications
You must be signed in to change notification settings - Fork 7
/
action.yml
54 lines (45 loc) · 1.62 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: set-commit-status
description: Updates the status of the given commit
author: Myrotvorets
inputs:
token:
description: Authentication token
default: "${{ github.token }}"
required: false
status:
description: Commit status (one of "error", "failure", "pending", "success")
default: pending
required: false
repo:
description: Repository to operate on (defaults to the current repository)
required: false
allowForks:
description: >
Whether to allow to set commit status if the request comes from a forked repository.
Defaults to `false` because the GITHUB_TOKEN for a forked repository usually does not have necessary permissions
to update the commit status. This only affects pull requests.
default: "false"
required: false
sha:
description: >
The SHA hash of the commit to update. It can be determined automatically for pushes and pull requests,
but needs to be provided for other events.
default: ""
required: false
targetUrl:
description: The target URL to associate with this status. This URL will be linked from the GitHub UI to allow users to easily see the source of the status.
default: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
required: false
description:
description: A short description of the status.
required: false
context:
description: A string label to differentiate this status from the status of other systems.
default: "${{ github.workflow }}"
required: false
runs:
using: 'node20'
main: 'dist/index.js'
branding:
color: blue
icon: check-circle