5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-07 08:06:54 +00:00

test: log before and after

This commit is contained in:
Wagner Santos 2024-09-03 15:01:57 -03:00
parent af788c8486
commit 6d40f76ad6

View file

@ -26,6 +26,7 @@ const getPushEventCommits = async () => {
const octokit = getOctokit(getInput('token'))
const { owner, repo } = eventContext.issue
const { before, after } = eventContext.payload
console.log(`before: ${before}, after: ${after}`)
const { data: comparison } = await octokit.rest.repos.compareCommits({
owner,
repo,