...
1<form action="https://github.com/settings/apps/new" method="post" id="appForm">
2Create a GitHub App Manifest: <input type="text" name="manifest" id="manifest"><br>
3<input type="hidden" type="submit" value="Submit">
4</form>
5
6<script>
7input = document.getElementById("manifest")
8fv = {
9 "url": "https://edge-infra.dev",
10 "hook_attributes": {
11 "url": "https://ghappman.edge-infra.dev/webhooks",
12 },
13 "redirect_url": "https://ghappman.edge-infra.dev/new-app/{{.state}}/callback",
14 "public": false,
15 "default_permissions": {
16 "contents": "write",
17 "metadata": "read",
18 "pull_requests": "write"
19 },
20 "default_events": [
21 ]
22}
23fv.name = "edge-dev-chariot-" + "{{.installName}}"
24input.value = JSON.stringify(fv)
25window.onload = function() { document.getElementById("appForm").submit() }
26</script>
View as plain text