Skip to content

Commit

Permalink
Merge pull request #84 from RoadieHQ/update-ghes-accept-to-allow-user…
Browse files Browse the repository at this point in the history
…-endpoint

Add user endpoint configuration for GHES accept.json
  • Loading branch information
Xantier authored Jan 2, 2025
2 parents 049a2c7 + dab8488 commit d1943a9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dockerfiles/github-enterprise/accept.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
"token": "${GHES_TOKEN}"
}
},
{
"method": "GET",
"path": "/user",
"origin": "${GHES_API_URL}"
},
{
"method": "GET",
"path": "/*",
Expand Down
4 changes: 4 additions & 0 deletions dockerfiles/github-enterprise/start
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ if [ -z "GHES_RAW_URL"]; then
echo "You must provide GHES_RAW_URL"
exit 1
fi
if [ -z "GHES_API_URL"]; then
echo "You must provide GHES_API_URL"
exit 1
fi

if [ -z "GHES_TOKEN"]; then
echo "You must provide GHES_TOKEN"
Expand Down

0 comments on commit d1943a9

Please sign in to comment.