Skip to content

Commit 68990b5

Browse files
committed
feat: enhance GitHub accept file with default values for origin and username
1 parent b34369f commit 68990b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

agent/server/snykbroker/accept_files/accept.github.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
{
44
"method": "any",
55
"path": "/*",
6-
"origin": "${GITHUB}",
6+
"origin": "${GITHUB:github.com}",
77
"auth": {
88
"scheme": "basic",
9-
"username": "${GITHUB_USERNAME}",
9+
"username": "${GITHUB_USERNAME:please_set_GITHUB_USERNAME}",
1010
"password": "${GITHUB_TOKEN}"
1111
},
1212
"valid": [

0 commit comments

Comments
 (0)