You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,10 @@ A Node.js server for GitHub app to assist external contributors and save maintai
4
4
5
5
## Roadmap
6
6
7
-
-[x] When an external contributor (not the internal team) raises a PR, post a comment to sign CLA and label PR `Pending CLA``
8
-
-[x] On signing CLA, remove `Pending CLA`` label and never ask that user to sign the CLA again on any of our repo in future[DONE]
9
-
-[x] On `rudder-transformer`` PR merge, post a comment to raise PR in `integrations-config`
10
-
-[ ] On `integrations-config`` PR merge, psot a comment to join Slack's product-releases channel to get notified when that integration goes live
7
+
-[x] When an external contributor (not the internal team) raises a PR, post a comment to sign CLA and label PR `Pending CLA`
8
+
-[x] On signing CLA, remove `Pending CLA` label and never ask that user to sign the CLA again on any of our repo in future
9
+
-[x] On `rudder-transformer` PR merge, post a comment to raise PR in `integrations-config`
10
+
-[ ] On `integrations-config` PR merge, psot a comment to join Slack's product-releases channel to get notified when that integration goes live
11
11
12
12
## Requirements
13
13
@@ -34,12 +34,12 @@ A Node.js server for GitHub app to assist external contributors and save maintai
34
34
35
35
1.[Register a GitHub app](https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/registering-a-github-app) for your GitHub organization. Make sure to activate the webhook with webhook url `https://YOUR_WEBSITE/api/webhook` in your app with a secret. Enable Permissions & Events as you may need, at minimum pull_request and issue related events should be enabled.
36
36
2. Install your GitHub app in all the repos where you need this app.
37
-
3. Clone this repo
37
+
3. Clone this repo OR download the [`build/docker-compose.yml`](./build/docker-compose.yml) to install via dockerhub image
38
38
4. Update `docker-compose.yml` environment variables with the details received from the step 2
39
39
> To convert GitHub App's private key to base64, use this command - `openssl base64 -in /path/to/original-private-key.pem -out ./base64EncodedKey.txt -A`
40
40
5. Run `docker-componse build` to build the service
41
41
6. Run `docker-compose up` to create and start the container
42
-
7. Test by visiting `http://localhost:3000`
42
+
7. Test by visiting `http://localhost:3000` OR whatever `WEBSITE_ADDRESS` environment variable you've configured
- APP_ID=11111 # Replace this with your app id. You'll need to create a github app for this: https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/registering-a-github-app
11
+
- GITHUB_APP_PRIVATE_KEY_BASE64=your_github_app_private_key_base64_encode # Replace this. First, get the private key from `GitHub Settings > Developer settings > GitHub Apps > {Your GitHub App} > Private Keys > Click(Generate Private Key)`. And then encode it to base64 using this command: `openssl base64 -in /path/to/original-private-key.pem -out ./base64EncodedKey.txt -A`
12
+
- WEBHOOK_SECRET=the_secret_you_configured_for_webhook_in_your_github_app # Replace this
13
+
- WEBSITE_ADDRESS=http://localhost:3000 # Replace this with your website domain name. It is recommended to use https, make sure to forward your your traffic on 443 to 3000 port(or whatever you configured earlier in environment.PORT) using reverse proxy such as nginx.
0 commit comments