diff --git a/action.js b/action.js
index d8b547efd2e5a38e1147b02db3649987ab0f129e..765d16355cd2b25ddaed070ace1b5e50009d4047 100755
--- a/action.js
+++ b/action.js
@@ -194,7 +194,14 @@ try {
     repo: 'news',
     per_page: 1,
   })
-  console.log('commits: ' + require('util').inspect(commits))
+  console.log('commits: ' + require('util').inspect(commits, { depth: null }))
+  const sha = commits.data[0].sha
+  const commit = await octokit.rest.repos.getCommit({
+    owner: 'duty-machine',
+    repo: 'news',
+    ref: sha,
+  })
+  console.log('commit: ' + require('util').inspect(commit, { depth: null }))
 } catch (error) {
   core.setFailed(error.message);
 }