File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
Thank you for making Clippy better!
2
2
3
3
We're collecting our changelog from pull request descriptions.
4
- If your PR only updates to the latest nightly , you can leave the
5
- ` changelog ` entry as ` none ` . Otherwise, please write a short comment
4
+ If your PR only includes internal changes , you can just change the
5
+ ` changelog ` entry to ` internal ` . Otherwise, please write a short comment
6
6
explaining your change.
7
7
8
8
If your PR fixes an issue, you can add "fixes #issue_number" into this
@@ -28,5 +28,5 @@ Delete this line and everything above before opening your PR.
28
28
29
29
---
30
30
31
- * Please keep the line below*
31
+ * Please adapt the line below (Use "internal" for internal only changes) *
32
32
changelog: none
Original file line number Diff line number Diff line change 40
40
if [[ -z "$output" ]]; then
41
41
echo "ERROR: PR body must contain 'changelog: ...'"
42
42
exit 1
43
- elif [[ "$output" = "none" ]]; then
44
- echo "WARNING: changelog is 'none'"
43
+ elif [[ -n $(echo "$output" | grep -i "^\s*none\.*$") ]]; then
44
+ echo "ERROR: changelog is 'none', use 'internal' for internal only changes"
45
+ exit 1
45
46
fi
46
47
env :
47
48
PYTHONIOENCODING : ' utf-8'
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ for pr in $(git log --oneline --grep "Merge #" --grep "Merge pull request" --gre
15
15
id=$( echo " $pr " | rg -o ' #[0-9]{3,5}' | cut -c 2-)
16
16
commit=$( echo " $pr " | cut -d' ' -f 1)
17
17
message=$( git --no-pager show --pretty=medium " $commit " )
18
- if [[ -n $( echo " $message " | rg " ^[\s]{4}changelog: [nN]one \.*$" ) ]]; then
18
+ if [[ -n $( echo " $message " | rg -i " ^[\s]{4}changelog: internal \.*$" ) ]]; then
19
19
continue
20
20
fi
21
21
You can’t perform that action at this time.
0 commit comments