-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
31 lines (31 loc) · 853 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
name: 'Slack Cypress Media Uploader'
description: 'Upload the screenshots and/or videos to the Slack channels if Cypress failed.'
author: Cynthiafan
branding:
icon: 'message-circle'
color: 'yellow'
inputs:
token:
description: 'Slack bot token'
required: true
github-token:
description: 'GitHub token to access pull request information'
required: true
channels:
description: 'The Slack channels where the messages will be sent'
required: true
workdir:
description: 'The directory where screenshots/videos are stored.'
required: false
message-text:
description: 'The message to be sent'
required: false
color:
description: 'The color of the quote line'
required: false
outputs:
result:
description: 'Result of screenshots/videos upload'
runs:
using: 'node20'
main: 'dist/index.js'