Skip to content

Commit 42fc57e

Browse files
heitorlessarubenfonseca
authored andcommitted
chore(ci): add note for state persistence on comment_large_pr
1 parent 332dbd0 commit 42fc57e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/scripts/comment_on_large_pr.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ const notifyAuthor = async ({
2222
}) => {
2323
core.info(`Commenting on PR ${PR_NUMBER}`)
2424

25-
let msg = `
26-
### ⚠️Large PR detected⚠️.
25+
let msg = `### ⚠️Large PR detected⚠️
2726
2827
Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.
2928
`;

.github/workflows/on_label_added.yml

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
pull-requests: write
2525
steps:
2626
- uses: actions/checkout@v3
27+
# Maintenance: Persist state per PR as an artifact to avoid spam on label add
2728
- name: "Suggest split large Pull Request"
2829
uses: actions/github-script@v6
2930
env:

0 commit comments

Comments
 (0)