Skip to content

Commit 0720e13

Browse files
committed
Log repository owner type explicitly
1 parent 38ba96d commit 0720e13

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

lib/init-action.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/init-action.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,9 @@ async function loadRepositoryProperties(
812812
// repositories owned by users cannot have repository properties, so we can
813813
// skip the API call entirely in that case.
814814
const repositoryOwnerType = github.context.payload.repository?.owner.type;
815+
logger.debug(
816+
`Repository owner type is '${repositoryOwnerType ?? "unknown"}'.`,
817+
);
815818
if (repositoryOwnerType === "User") {
816819
logger.debug(
817820
"Skipping loading repository properties because the repository is owned by a user and " +

0 commit comments

Comments
 (0)