generated from actions-cool/action-js-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
40 lines (36 loc) · 911 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
40
# https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
name: 'CI Notice'
description: 'Notify you when CI fails'
author: 'xrkffgg'
# https://actions-cool.github.io/github-action-branding/
branding:
icon: 'message-circle'
color: 'red'
inputs:
token:
description: Secret GitHub API token to use for making API requests.
default: ${{ github.token }}
required: true
ci:
description: CI you want to check
default: |
npm install
npm run build
notice-types:
description: The notify way
dingding-token:
description: DingTalk token
notice-title:
description: The notify title
notice-body:
description: The notify body
issue-labels:
description: The issue labels
issue-assignees:
description: The issue assignees
outputs:
result:
description: CI result
runs:
using: 'node16'
main: 'dist/index.js'