We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e2f165 commit 6f5455cCopy full SHA for 6f5455c
src/main.ts
@@ -32,7 +32,13 @@ async function checkInputs() {
32
headers = process.env.GITHUB_TOKEN ? {
33
Authorization: `Bearer ${process.env.GITHUB_TOKEN}`
34
} : undefined,
35
- commit = (await axios.get(url, { headers })).data
+ commit = (await axios.get(url, { headers }).catch(err => {
36
+ info('::group::Request error:')
37
+ info(`Request URL: ${url}`)
38
+ info(err)
39
+ info('::endgroup::')
40
+ return undefined
41
+ }))?.data
42
43
author = commit?.commit?.author
44
}
0 commit comments