forked from Andarist/create-commit-status-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
27 lines (27 loc) · 1.05 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
name: Create commit status
description: A simple GitHub action that create a commit status using the GitHub API.
runs:
using: node20
main: ./dist/index.js
inputs:
state:
description: The state of the status. Can be one of 'error', 'failure', 'pending', or 'success'.
required: true
description:
description: A short description of the status.
required: false
context:
description: A string label (or labels) to differentiate this status from the status of other systems.
required: true
target_url:
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.
required: false
default: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
sha:
description: A commit for which to create a status.
required: false
default: ${{ github.event.client_payload.sha }}
github_token:
description: Override the GitHub runner provided token.
default: ${{ github.token }}
required: true