We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b5695a commit 9c5d789Copy full SHA for 9c5d789
1 file changed
.github/workflows/title-formatter.yml
@@ -53,11 +53,6 @@ jobs:
53
if (isBreaking) newTitle += '!';
54
newTitle += `: ${description}`;
55
56
- if (rawTitle === newTitle) {
57
- console.log("Title is already correctly formatted. Skipping update.");
58
- return;
59
- }
60
-
61
const displayTitle = `${newTitle} (#${pr_number})`;
62
if (displayTitle.length > 72) {
63
core.setFailed(
@@ -66,6 +61,11 @@ jobs:
66
return;
67
}
68
64
+ if (rawTitle === newTitle) {
65
+ console.log("Title is already correctly formatted. Skipping update.");
+ return;
+ }
+
69
await github.rest.pulls.update({
70
owner,
71
repo,
0 commit comments