Skip to content

Commit a886f48

Browse files
authored
Print WF's html_url (Azure#36410)
1 parent 20fc03c commit a886f48

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/src/breaking-change-add-label-artifacts.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ export default async function getLabelActions({ github, context, core }) {
4848
return;
4949
}
5050

51-
core.info(`breaking change workflow run: ${latestBreakingChangesRun.url}`);
51+
core.info(`breaking change workflow run: ${latestBreakingChangesRun.html_url}`);
5252
core.info(
53-
`cross-version breaking change workflow run: ${latestCrossVersionBreakingChangesRun.url}`,
53+
`cross-version breaking change workflow run: ${latestCrossVersionBreakingChangesRun.html_url}`,
5454
);
5555
const breakingChangesArtifactNames = (
5656
await github.paginate(github.rest.actions.listWorkflowRunArtifacts, {
@@ -94,7 +94,8 @@ export default async function getLabelActions({ github, context, core }) {
9494
// Apply precedence rule: breaking change takes precedence over versioning, only one label should be added
9595
const breakingChangeReviewLabelValue = hasBreakingChangeReviewLabel;
9696
const versioningReviewLabelValue = hasVersioningReviewLabel && !hasBreakingChangeReviewLabel;
97-
97+
core.info(`${REVIEW_REQUIRED_LABELS.BREAKING_CHANGE}: ${breakingChangeReviewLabelValue}`);
98+
core.info(`${REVIEW_REQUIRED_LABELS.VERSIONING}: ${versioningReviewLabelValue}`);
9899
core.setOutput("breakingChangeReviewLabelName", REVIEW_REQUIRED_LABELS.BREAKING_CHANGE);
99100
core.setOutput("breakingChangeReviewLabelValue", breakingChangeReviewLabelValue);
100101
core.setOutput("versioningReviewLabelName", REVIEW_REQUIRED_LABELS.VERSIONING);

0 commit comments

Comments
 (0)