forked from technote-space/workflow-conclusion-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
39 lines (33 loc) · 854 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
30
31
32
33
34
35
36
37
38
39
name: Workflow Conclusion Action
description: GitHub action to get workflow conclusion.
author: technote-space
inputs:
GITHUB_TOKEN:
description: Secret GitHub API token to use for making API requests.
default: ${{ github.token }}
required: false
TARGET_RUN_ID:
description: Target run id
default: ${{ github.run_id }}
required: false
SET_ENV_NAME:
description: Env name
required: false
default: WORKFLOW_CONCLUSION
FALLBACK_CONCLUSION:
description: Fallback conclusion
required: false
default: skipped
STRICT_SUCCESS:
description: Whether to report as success only if all jobs are successful
required: false
default: "false"
outputs:
conclusion:
description: Workflow conclusion
branding:
icon: 'check-circle'
color: 'green'
runs:
using: node20
main: lib/main.js