Skip to content

Commit

Permalink
Revise the message in staleness checker
Browse files Browse the repository at this point in the history
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
  • Loading branch information
sighingnow committed Feb 27, 2024
1 parent 0ab43dc commit ad7413c
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
days-before-pr-stale: ${{ env.DAYS_BEFORE_PR_STALE }}
stale-issue-label: stale
stale-pr-label: stale
exempt-pr-labels: work-in-progress,requires-further-info
exempt-issue-labels: requires-further-info,wontfix,newcomers
labels-to-remove-when-unstale: stale,requires-further-info
exempt-pr-labels: work-in-progress,requires-further-info,requires-further-discussion
exempt-issue-labels: work-in-progress,requires-further-info,requires-further-discussion,wontfix,newcomers
labels-to-remove-when-unstale: stale,requires-further-info,requires-further-discussion
exempt-draft-pr: true

- name: Notify assignees
Expand All @@ -70,9 +70,16 @@ jobs:
for assignee in $assignees; do
message="$message @$assignee"
done
message="$message, this issus/pr has had no activity for for a long time, could you folks help to review the status ?"
message="$message </br>"
message="$message If the issue/pr is waiting for further response from the reporter/author, please help to add the label \`requires-further-info\` to suppress further notification."
message="$message, this issus/pr has had no activity for for a long time, could you folks help to review the status ?\n"
message="$message To suppress further notifications,\n"
message="$message - for issues, \n"
message="$message - if it is waiting for further response from the reporter/author, please help to add the label \`requires-further-info\`,\n"
message="$message - if you have already started working on it, please add the label \`work-in-progress\` to the issue,\n"
message="$message - if this issue requires further designing discussion and not in current plan, or won't be fixed, please add the label \`requires-further-discussion\` or \`wontfix\` to the issue,\n"
message="$message - for pull requests,
message="$message - if you are still working on it and it is not ready for reviewing, please convert this pull request as draft PR,\n"
message="$message - if you have decided to hold this development on, please add the \`requires-further-discussion\` label to the pull request.\n"
message="$message Thanks!"
fi
echo "Commenting on stale issue/pr $N, assignees: $assignees, message: $message"
Expand Down

0 comments on commit ad7413c

Please sign in to comment.