action-conventional-commits/index.js
2020-06-11 09:37:37 +02:00

7 lines
205 B
JavaScript

const got = require("got");
got.get("https://api.github.com/repos/doitadrian/contreebutors-action/pulls/2/commits", {
responseType: "json",
}).then((response) => {
console.log(response.body);
});