diff --git a/client-templates/snyk/accept.json.sample b/client-templates/snyk/accept.json.sample index 11a1bb161..d5a8f19b6 100644 --- a/client-templates/snyk/accept.json.sample +++ b/client-templates/snyk/accept.json.sample @@ -93,6 +93,12 @@ "path": "/repos/:name/:repo", "origin": "https://${TOKEN}@${GITHUB_API}" }, + { + "//": "get the details of the latest commit to determine its SHA", + "method": "GET", + "path": "/repos/:name/:repo/commits/HEAD", + "origin": "https://${TOKEN}@${GITHUB_API}" + }, { "//": "get a list of all the refs to match find whether an existing PR is open", "method": "GET",