-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
35 lines (35 loc) · 917 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
name: 'Working hours'
description: 'Check current time for working hours'
inputs:
timezone:
description: 'Timezone'
required: false
default: 'UTC'
calendar:
description: 'Calendar'
required: false
default: ''
schedule:
description: 'Working hour schedule'
required: true
types:
required: false
description: 'Types of holidays to check (separated by `,`)'
default: 'public,bank,optional,school,observance'
check_future_days:
description: 'Check working days in future'
required: false
default: '0'
fail_on_failure:
required: false
description: 'Fail on not working hours'
default: 'true'
outputs:
working_hours:
description: 'True if working hours'
runs:
using: 'node16'
main: 'dist/index.js'
branding:
icon: briefcase
color: red