-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
25 lines (21 loc) · 814 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
name: Planned maintenance
description: Allow or deny branches based on the time and branch name
inputs:
maintenance-window-start:
description: "Time when the maintenance window will open. After this point, the checklist will be enabled and the action will fail"
required: true
maintenance-window-duration:
description: "Number of milliseconds the maintenance window will remain open for"
required: true
maintenance-window-enabled:
description: "Whether to check the maintenance window at all"
required: true
maintenance-url:
description: "URL with more information about this maintenance, will be displayed in error output"
required: false
outputs:
message:
description: "Explanation about why your branch was rejected"
runs:
using: "node12"
main: "index.js"