Skip to content

Commit

Permalink
feat: add get HEAD commit rule for Snyk template
Browse files Browse the repository at this point in the history
  • Loading branch information
gjvis committed Sep 12, 2016
1 parent bb32e23 commit 1bcc217
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions client-templates/snyk/accept.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 1bcc217

Please sign in to comment.