Skip to content
Snippets Groups Projects
Commit b7df4f61 authored by Ciro Santilli's avatar Ciro Santilli
Browse files

try to get commits

parent fac246bc
No related branches found
No related tags found
No related merge requests found
......@@ -189,6 +189,12 @@ try {
labels: Array.from([...labels, ...newLabels])
})
}
const commits = await octokit.rest.repos.listCommits({
owner: 'duty-machine',
repo: 'news',
per_page: 1,
})
console.log('commits: ' + require('util').inspect(commits))
} catch (error) {
core.setFailed(error.message);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment