-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
41 lines (41 loc) · 1.89 KB
/
action.yml
File metadata and controls
41 lines (41 loc) · 1.89 KB
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
name: "Lendable's Sloth"
description: "A GitHub Action that enables optimized and flexible continuous integration suites"
branding:
icon: git-merge
color: orange
inputs:
token:
description: "GitHub token to use to interact with the GitHub API."
default: "${{ github.token }}"
required: false
ref:
description: "Git reference to inspect check runs for. The default supports Pull Requests, Merge Queues as well as branch pushes."
required: false
default: ${{ github.event.pull_request.head.sha || github.sha }}
interval:
description: "The number of seconds in between polls of the GitHub API for check run conclusions."
required: false
default: "10"
timeout:
description: "The number of seconds before the job is declared a failure if check runs have not yet concluded."
required: false
default: "600"
name:
description: "The name of the Sloth's own check run. This is used to ensure Sloth does not wait upon itself."
required: false
default: "sloth"
ignored:
description: "A multi-line list of check run names or glob patterns to ignore when determining an overall result. Use * as a wildcard to match any sequence of characters (e.g. 'deploy-*-staging')."
required: false
default: ""
allow-empty:
description: "When true, Sloth succeeds if no other check runs are found after waiting for the settle period (see empty-settle-time). Useful when path-filtered workflows may not trigger on every PR. When false (default), Sloth waits until at least one check run appears or times out."
required: false
default: "false"
empty-settle-time:
description: "The number of seconds to wait before accepting an empty result when allow-empty is true. This grace period ensures workflows have time to be scheduled before Sloth concludes no checks will run."
required: false
default: "30"
runs:
using: node24
main: dist/index.js