Skip to content

Commit e801af8

Browse files
committed
Improve message
1 parent da6f98d commit e801af8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dist/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.

dist/index.js.map

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/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ async function run_repo(owner, repo, octokit) {
9292
}
9393

9494
found = true;
95-
console.log(`https://github.com/${owner}/${repo}/blob/${branchName}/${file.path} from non-default branch uses pull_request_target`);
95+
console.log(`https://github.com/${owner}/${repo}/blob/${branchName}/${file.path} from non-default branch uses pull_request_target without branch filters.`);
9696
}
9797
}
9898
}
@@ -151,7 +151,7 @@ if (process.env.GITHUB_ACTIONS) {
151151
core.setFailed(error);
152152
}).then(found => {
153153
if (found) {
154-
core.warning('Workflows from non-default branches were detected to use pull_request_target. See logs for the details.');
154+
core.warning('Issues were detected. See logs for the details.');
155155
}
156156
});
157157
} else {

0 commit comments

Comments
 (0)