We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c36bb78 commit 4bc8ac9Copy full SHA for 4bc8ac9
utils/github_activity.sh
@@ -0,0 +1,15 @@
1
+#!/bin/bash
2
+# API_URL=https://3f13-147-75-85-27.ngrok-free.app (defaults to localhost:5000)
3
+# DEBUG=1 ./utils/github_activity.sh
4
+
5
+if [ -z "$API_URL" ]
6
+then
7
+ export API_URL="http://localhost:5000"
8
+fi
9
10
+if [ ! -z "$DEBUG" ]
11
12
+ cat new-pr.json.secret
13
+ echo "curl -s -XPOST -H \"Content-Type: application/json\" -H \"X-GITHUB-EVENT: pull_request\" \"${API_URL}/v2/github/activity\" --data-binary '@new-pr.json.secret'"
14
15
+curl -s -XPOST -H "Content-Type: application/json" -H "X-GITHUB-EVENT: pull_request" "${API_URL}/v2/github/activity" --data-binary '@new-pr.json.secret'
0 commit comments