Skip to content

Commit 3841774

Browse files
ci: [docs] minor comment adjustments to update-stable-titles.yml
Signed-off-by: Josh <josh.t.richards@gmail.com>
1 parent 49f918c commit 3841774

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/update-stable-titles.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
contents: read
3232

3333
steps:
34-
- name: Wait for potential title edits
34+
- name: Delay to avoid racing with follow-up title edits
3535
run: sleep 15
3636

3737
- name: Get PR details and update title
@@ -43,9 +43,8 @@ jobs:
4343
const baseBranch = pr.base.ref;
4444
const currentTitle = pr.title;
4545
46-
// Check if this is a stable branch
47-
// Should not happen as we only trigger on stable* branches 🤷‍♀️
4846
if (!baseBranch.startsWith('stable')) {
47+
// Should never happen as we only trigger on stable* branches 🤷‍♀️
4948
console.log(`Not a stable branch: ${baseBranch}`);
5049
return;
5150
}

0 commit comments

Comments
 (0)