Skip to content

Commit b3e53d3

Browse files
committed
Replace core.warning with core.info
1 parent 4a8eea7 commit b3e53d3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -34294,15 +34294,15 @@ async function generatePRComment(testRunUrlsMap) {
3429434294
core.debug(error);
3429534295
}
3429634296
if (!pullRequestNumber) {
34297-
core.warning('Unable to get pull request number for the commit, skipping comment creation');
34297+
core.info('Unable to get pull request number for the commit, skipping comment creation');
3429834298
return;
3429934299
}
3430034300
try {
3430134301
await createOrUpdateComment(pullRequestNumber, comment);
3430234302
core.debug('Comment created successfully');
3430334303
}
3430434304
catch (error) {
34305-
core.warning('Error creating comment on pull request');
34305+
core.info('Error creating comment on pull request');
3430634306
core.debug(`Following error occurred in creating comment on pull request: ${pullRequestNumber}`);
3430734307
core.debug(error);
3430834308
}

src/githubHelper.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,15 @@ export async function generatePRComment(testRunUrlsMap: TestRunUrlsMap): Promise
152152
}
153153

154154
if (!pullRequestNumber) {
155-
core.warning('Unable to get pull request number for the commit, skipping comment creation')
155+
core.info('Unable to get pull request number for the commit, skipping comment creation')
156156
return;
157157
}
158158

159159
try {
160160
await createOrUpdateComment(pullRequestNumber, comment);
161161
core.debug('Comment created successfully');
162162
} catch (error: any) {
163-
core.warning('Error creating comment on pull request');
163+
core.info('Error creating comment on pull request');
164164
core.debug(`Following error occurred in creating comment on pull request: ${pullRequestNumber}`);
165165
core.debug(error);
166166
}

0 commit comments

Comments
 (0)