-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnextsteps.html
97 lines (90 loc) · 4.39 KB
/
nextsteps.html
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Landing page">
<title>Github PR Feedback</title>
<style>
/*
Consider adding styles to the css folder
All existing styles havebeen moved to a separate CSS file for clarity
*/
body {
background: url(img/cream_dust.png) repeat 0 0;
}
</style>
<!-- Pure CSS -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/build/pure-min.css" integrity="sha384-" crossorigin="anonymous">
<!-- Favicon -->
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.png" />
<!--[if lte IE 8]>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/build/grids-responsive-old-ie-min.css">
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/build/grids-responsive-min.css">
<!--<![endif]-->
<!--[if lte IE 8]>
<link rel="stylesheet" href="css/layouts/landing-old-ie.css">
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="css/layouts/landing.css">
<!--<![endif]-->
</head>
<body>
<div id="layout" class="pure-g">
<div class="sidebar pure-u-1 pure-u-md-1-4">
<div class="header">
<h1 class="brand-title">Github PR Feedback</h1>
<h2 class="brand-tagline">Instructions on enabling pull request feedback for your repo</h2>
</div>
</div>
<div class="content pure-u-1 pure-u-md-3-4">
<div>
<!-- A wrapper for all the posts -->
<div class="posts">
<h1 class="content-subhead">Next steps</h1>
<section class="post" id="div-success">
<header class="post-header">
<h2 class="post-title">You have successfully logged in.</h2>
</header>
<div class="post-description">
<h3>Please fill feedback when you close pull requests:</h3>
<ul>
<li>When you close pull requests, a link will be posted by our bot as a comment</li>
<li>A feedback form will be presented to you upon clicking the link</li>
<li>You will be redirected back to the pull request once you submit the feedback form</li>
<i><b>Note:</b> If you don't see the link, refresh your page</i>
</ul>
</div>
</section>
<br>
<section class="post" id="div-failure">
<header class="post-header">
<h2 class="post-title">Try the alternative setup methods if there was any issue logging in.</h2>
</header>
<ul class="post-description">
<li><h3>For private repositories:</h3>
<ul>
<li>To add a collaborator go to Settings, then Webhooks from your repository</li>
<li>Add <i>prfeedback</i> as a collaborator by using the user search box at the bottom of the page.</li>
<li>Continue setting up the webhook as described for public repositories in the next section</a></li>
</ul>
</li>
<li><h3>For public repositories:</h3>
<ul>
<li>Add a webhook by going to Settings, then Webhooks from your repository</li>
<li>Set the payload URL to the address <i>http://chennai.ewi.tudelft.nl:60002/webhook</i></li>
<li>Set the content type to <i>application/json</i></li>
<li>Ensure that the only data that is being sent over is that related to Pull Requests. To see more about how to setup webhooks, see <a href="https://developer.github.com/webhooks/creating/">this page</a></li>
</ul>
</li>
</ul>
</div>
</section>
</div>
</div>
</div>
</div>
</body>
</html>