-
👋 @jacobvosmaer-gitlabAuthor ContributorI think what we should verify is:
- method POST
- resource
/api/v4/internal/allowed
Content-Type: application/x-www-form-urlencoded
- the actual form data
Note that the form data is based on:
- two lines of stdin in pre-receive format https://git-scm.com/docs/githooks#pre-receive
- environment variables:
GL_REPOSITORY=project-28
,GL_ID=key-1
GL_PROTOCOL=ssh
- quarantine variables
GIT_ALTERNATE_OBJECT_DIRECTORIES
andGIT_OBJECT_DIRECTORY
, plus_RELATIVE
variants which are based on current working directory of the hook - contents of secret token file
Please register or sign in to comment