This repository has been archived by the owner on Sep 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #910 from pavlovcik/refactor/move-to-delegated-com…
…pute Refactor/move to delegated compute
- Loading branch information
Showing
60 changed files
with
21,658 additions
and
15,909 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,13 @@ | ||
APP_ID= | ||
APP_PRIVATE_KEY= | ||
PRIVATE_KEY= | ||
|
||
# Go to https://smee.io/new set this to the URL that you are redirected to. | ||
WEBHOOK_PROXY_URL= | ||
WEBHOOK_SECRET= | ||
|
||
SUPABASE_URL= | ||
SUPABASE_KEY= | ||
AUTO_PAY_MODE= | ||
ANALYTICS_MODE= | ||
|
||
|
||
# Use `trace` to get verbose logging or `info` to show less | ||
# `fatal` `error` `info` `verbose` `debug` | ||
LOG_LEVEL=debug | ||
OPENAI_API_HOST=https://api.openai.com | ||
OPENAI_API_KEY= | ||
CHATGPT_USER_PROMPT_FOR_IMPORTANT_WORDS="I need your help to find important words (e.g. unique adjectives) from github issue below and I want to parse them easily so please separate them using #(No other contexts needed). Please separate the words by # so I can parse them easily. Please answer simply as I only need the important words. Here is the issue content.\n" | ||
CHATGPT_USER_PROMPT_FOR_MEASURE_SIMILARITY='I have two github issues and I need to measure the possibility of the 2 issues are the same content (No other contents needed and give me only the number in %).\n Give me in number format and add % after the number.\nDo not tell other things since I only need the number (e.g. 85%). Here are two issues:\n 1. "%first%"\n2. "%second%"' | ||
SIMILARITY_THRESHOLD=80 | ||
MEASURE_SIMILARITY_AI_TEMPERATURE=0 | ||
IMPORTANT_WORDS_AI_TEMPERATURE=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,24 +11,23 @@ | |
"probot-app" | ||
], | ||
"scripts": { | ||
"inspect": "node --inspect-brk ./dist/main.js", | ||
"build:ci": "ncc build src/adapters/github/github-actions.ts -o ./", | ||
"build:serverless": "ncc build src/index.ts -o ./", | ||
"inspect": "node --inspect node_modules/.bin/probot run ./dist/main.js", | ||
"build:gh-actions": "ncc build src/adapters/github/github-actions.ts -o ./", | ||
"build": "tsc", | ||
"build:watch": "tsc --watch", | ||
"clean": "rimraf ./dist ./node_modules", | ||
"preformat": "lint:prettier", | ||
"format": "lint:eslint", | ||
"lint": "lint:prettier:check && lint:eslint", | ||
"lint:prettier:check": "prettier -c src/**/*.ts", | ||
"lint:prettier": "prettier --write src", | ||
"lint:eslint": "eslint --fix --ext .ts ./src", | ||
"start:serverless": "tsx src/adapters/github/github-actions.ts", | ||
"preformat": "yarn format:prettier", | ||
"format": "yarn format:eslint", | ||
"postformat": "yarn format:cspell", | ||
"format:prettier": "prettier --write src", | ||
"format:eslint": "eslint --fix --ext .ts ./src", | ||
"format:cspell": "cspell --config .cspell.json 'src/**/*.{js,ts,json,md,yml}'", | ||
"start:gh-actions": "tsx src/adapters/github/github-actions.ts", | ||
"start:watch": "nodemon --exec 'yarn start'", | ||
"utils:cspell": "cspell --config .cspell.json 'src/**/*.{js,ts,json,md,yml}'", | ||
"start": "probot run ./dist/main.js", | ||
"prepare": "husky install", | ||
"test": "jest", | ||
"netlify:logs": "yarn netlify logs:function webhooks" | ||
"logs:netlify": "yarn netlify logs:function webhooks" | ||
}, | ||
"dependencies": { | ||
"@commitlint/cli": "^17.4.3", | ||
|
@@ -71,15 +70,15 @@ | |
"devDependencies": { | ||
"@types/dotenv": "^8.2.0", | ||
"@types/eslint": "^8.40.2", | ||
"@types/jest": "^29.5.10", | ||
"@types/jest": "^29.5.11", | ||
"@types/jsdom": "^21.1.4", | ||
"@types/libsodium-wrappers": "^0.7.10", | ||
"@types/lodash": "^4.14.197", | ||
"@types/lodash": "^4.14.202", | ||
"@types/markdown-it": "^13.0.4", | ||
"@types/node": "^14.18.37", | ||
"@types/source-map-support": "^0.5.6", | ||
"eslint": "^8.43.0", | ||
"jest": "^29.6.2", | ||
"jest": "^29.7.0", | ||
"knip": "^2.33.4", | ||
"netlify-cli": "^17.10.1", | ||
"octokit": "^3.1.2", | ||
|
@@ -89,7 +88,7 @@ | |
"typescript": "^4.9.5" | ||
}, | ||
"engines": { | ||
"node": ">=18" | ||
"node": ">=20.10.0" | ||
}, | ||
"lint-staged": { | ||
"*.ts": [ | ||
|
@@ -111,5 +110,6 @@ | |
"verbose": true, | ||
"ext": "ts", | ||
"exec": "yarn start" | ||
} | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.