fix: more logging

This commit is contained in:
Tom Hu 2024-04-30 17:30:34 +08:00
parent e0647dccce
commit 9faeaca720
No known key found for this signature in database
GPG key ID: 79155678363963D2
3 changed files with 3 additions and 1 deletions

1
dist/index.js vendored
View file

@ -32565,6 +32565,7 @@ const getGitService = () => {
const isFork = () => {
const baseLabel = context.payload.pull_request.base.label;
const headLabel = context.payload.pull_request.head.label;
core.info(`base: ${baseLabel} | head: ${headLabel}`);
return (baseLabel.split(':')[0] !== headLabel.split(':')[0]);
};
const getToken = () => buildExec_awaiter(void 0, void 0, void 0, function* () {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View file

@ -33,6 +33,7 @@ const isFork = (): boolean => {
const baseLabel = context.payload.pull_request.base.label;
const headLabel = context.payload.pull_request.head.label;
core.info(`base: ${baseLabel} | head: ${headLabel}`);
return (baseLabel.split(':')[0] !== headLabel.split(':')[0]);
};