Skip to content

Commit 5c9f1f7

Browse files
committed
fix: add a couple of debug lines
1 parent d84d80e commit 5c9f1f7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,13 @@ async function checkInputs() {
170170
// #region GITHUB_TOKEN
171171
let token = process.env.GITHUB_TOKEN
172172
if (token) {
173+
debug('Using token from GITHUB_TOKEN env variable.')
173174
warning(
174175
"The GITHUB_TOKEN env variable is deprecated and will not be supported in the next major release. Use the 'token' input, " +
175176
"which defaults to 'secrets.GITHUB_TOKEN'."
176177
)
177178
} else {
179+
debug('Using token from token input.')
178180
token = getInput('token')
179181
}
180182
// #endregion

0 commit comments

Comments
 (0)