This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yaml
45 lines (45 loc) · 1.53 KB
/
action.yaml
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
41
42
43
44
45
name: snow-change-request
description: Create a change request in ServiceNow
inputs:
action:
description: Create a change request, attach a file, or approve a change request
required: true
default: create # possible values: approve, attach-file, create, lookup-change-request, require-approval, transition
approvalAssignmentGroup:
description: "Name of the group that needs to approve the change request"
default: "CAB Approval"
required: false
attachmentFilePath:
description: Path to the file, including the file name
required: false
attachmentFileName:
description: Name the attachment should have in ServiceNow, does not need to match attachmentFilePath
required: false
attachmentFileContentType:
description: Content type of the file
default: "application/text"
required: false
changeRequestMessage:
description: Change request message
required: false
githubToken:
description: GitHub access token -- used to post and edit comments on pull requests
required: true
transition:
description: Name of the state to which to transition
required: false
requestSysId:
description: Sysid of the target request
required: false
serviceNowUrl:
description: Base URL of the ServiceNow instance
required: true
serviceNowUsername:
description: ServiceNow username
required: true
serviceNowPassword:
description: ServiceNow user password
required: true
runs:
using: docker
image: docker://ghcr.io/liatrio/snow-change-request-action:latest