action-conventional-commits/index.js

8 lines
205 B
JavaScript
Raw Normal View History

2020-06-11 09:37:37 +02:00
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);
});