-
Notifications
You must be signed in to change notification settings - Fork 18
/
action.yml
42 lines (37 loc) · 1.38 KB
/
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
41
42
name: Try in Web IDE
description: Try in Web IDE
author: 'Red Hat'
branding:
icon: circle
color: red
inputs:
github_token:
description: 'GitHub token used to add PR comment and/or status check'
required: true
add_comment:
description: If 'true', the action will add comments on each PR with a link to try the PR in Web IDE
required: false
default: 'true'
add_status:
description: If 'true', the action will add a PR status check on each PR with a link to try the PR in Web IDE
required: false
default: 'true'
setup_remotes:
description: >
If 'true', the badge and status check URL created by the action will have Git remotes automatically configured
if the PR branch is located in a fork repo.
The fork repo and the base repo will be configured to be the 'origin' and 'upstream' remote respectively.
The Web IDE must be based on Eclipse Che® 7.60 for this feature.
required: false
default: 'false'
web_ide_instance:
description: The base url for the Web IDE instance
required: false
default: 'https://workspaces.openshift.com'
comment_badge:
description: The badge url for the comment created when 'add_comment' is 'true'
required: false
default: 'https://img.shields.io/badge/Eclipse_Che-Hosted%20by%20Red%20Hat-525C86?logo=eclipse-che&labelColor=FDB940'
runs:
using: node16
main: dist/index.js