Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ pids
*.pid.lock

# dotenv environment variables file
.env
.env.test
test-event.json
.env.*

# OS metadata
.DS_Store
Expand Down
24 changes: 24 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"command": "npm start",
"name": "PR Summary (npm start)",
"request": "launch",
"type": "node-terminal",
"envFile": "${workspaceFolder}/pr-summary/.env.development",
"cwd": "${workspaceFolder}/pr-summary"
},
{
"command": "npm start",
"name": "PR Review (npm start)",
"request": "launch",
"type": "node-terminal",
"envFile": "${workspaceFolder}/pr-review/.env.development",
"cwd": "${workspaceFolder}/pr-review"
}
]
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"eslint.rules.customizations": [{ "rule": "*", "severity": "warn" }]
"eslint.rules.customizations": [{ "rule": "*", "severity": "warn" }],
"github.copilot.enable": { "shellscript": false }
}
26 changes: 26 additions & 0 deletions pr-review/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Just create a copy of that file and name it ".env.development" so you can use it for debugging.

NODE_ENV=development

INPUT_USER_TOKEN=ghp_abcdefghijklmnopqrstuvwxyzABCD012345
INPUT_GITHUB_API_URL=https://github.tools.sap/api/v3
INPUT_OWNER=processone
INPUT_REPO=technology-exploration
INPUT_PR_NUMBER=1

INPUT_AICORE_SERVICE_KEY='{ "clientid": "...", "clientsecret": "...", "url": "...", "serviceurls": { "AI_API_URL": ... } }'
INPUT_DISPLAY_MODE='none'
INPUT_PREVIOUS_RESULTS='keep'

# INPUT_MODEL=
# INPUT_PROMPT=
# INPUT_PROMPT_ADDITION=
# INPUT_DISCLAIMER_PROMPT=
# INPUT_HEADER_TEXT=
# INPUT_FOOTER_TEXT=
# INPUT_BASE_SHA=
# INPUT_HEAD_SHA=
# INPUT_INCLUDE_FILES=**
# INPUT_EXCLUDE_FILES='package-lock.json, dist/**/*'
# INPUT_INCLUDE_CONTEXT_FILES=
# INPUT_EXCLUDE_CONTEXT_FILES=
Loading