Skip to content

Commit 9e05b5e

Browse files
committed
version check wf now deletes prev comments if it passes
1 parent 049ee23 commit 9e05b5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/version-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
owner: owner,
8686
repo: repo,
8787
comment_id: versionComment.id,
88-
body: `❌ **Version Check Failed**\n\nPlease increment...`
88+
body: `❌ **Version Check Failed**\n\nPlease increment the version. Current version in main: ${process.env.MAIN_VERSION}, PR version: ${process.env.PR_VERSION}`
8989
});
9090
}
9191
} else if (!success) {
@@ -94,6 +94,6 @@ jobs:
9494
owner: owner,
9595
repo: repo,
9696
issue_number: prNumber,
97-
body: `❌ **Version Check Failed**\n\nPlease increment...`
97+
body: `❌ **Version Check Failed**\n\nPlease increment the version. Current version in main: ${process.env.MAIN_VERSION}, PR version: ${process.env.PR_VERSION}`
9898
});
9999
}

0 commit comments

Comments
 (0)