Skip to content

Commit 2b98bf6

Browse files
Add the missing content in the workflow's label check when migrating from Minor to No Documentation Needed
1 parent 0bcda77 commit 2b98bf6

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/labeler.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,8 @@ labels:
1919
include:
2020
- '(?i)\[minor\]'
2121
exclude: []
22+
23+
'No Documentation Needed':
24+
include:
25+
- '(?i)\[no documentation needed\]'
26+
exclude: []

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
<!-- Please add [Minor] to the title or the description if this change should not be mentioned in documentation, what's new and no credit needs to be given.
1+
<!-- Please add [No Documentation Needed] to the title or the description if this change should not be mentioned in documentation, what's new and no credit needs to be given.
22
If the changes are solely made to the documentation, please set the target branch to the pull request named "Weekly Regular Documentation Revisions", rather than the repository's existing branches. -->

.github/workflows/pr-doc-checker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
exit 0
3030
else
3131
echo "It looks like you forgot to update the Changelog! 🧐"
32-
echo "Please, mention your changes in 'docs/Whats-New.md' or use [Minor] label for your Pull Request."
32+
echo "Please, mention your changes in 'docs/Whats-New.md' or use [No Documentation Needed] label for your Pull Request."
3333
exit 1
3434
fi
3535
@@ -50,7 +50,7 @@ jobs:
5050
exit 0
5151
else
5252
echo "It looks like you forgot to update the Credits List! 🧐"
53-
echo "Please, mention your contribution in 'CREDITS.md' or use [Minor] label for your Pull Request."
53+
echo "Please, mention your contribution in 'CREDITS.md' or use [No Documentation Needed] label for your Pull Request."
5454
exit 1
5555
fi
5656
@@ -78,6 +78,6 @@ jobs:
7878
exit 0
7979
else
8080
echo "It looks like you forgot to add your changes to the docs! 🧐"
81-
echo "Please, document your changes or use [Minor] label for your Pull Request."
81+
echo "Please, document your changes or use [No Documentation Needed] label for your Pull Request."
8282
exit 1
8383
fi

0 commit comments

Comments
 (0)