Skip to content

Commit 610d771

Browse files
committed
chore: remove [chore] from exempt since it is not allowed under linter rules
1 parent 25a2fa5 commit 610d771

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/changelog.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This action requires that any PR targeting the main branch should add a
22
# yaml file to the ./.chloggen/ directory. If a CHANGELOG entry is not required,
33
# or if performing maintenance on the Changelog, add the "Skip Changelog" label,
4-
# or prefix the pull request title with any of the following: "[chore]", "chore",
4+
# or prefix the pull request title with any of the following: "chore",
55
# "build", "ci", "refactor", "style", "test".
66

77
name: changelog
@@ -38,7 +38,7 @@ jobs:
3838
PR_TITLE: ${{ github.event.pull_request.title }}
3939
PR_LABELS: ${{ toJSON(github.event.pull_request.labels.*.name) }}
4040
run: |
41-
CHLOG_EXEMPT_PREFIXES=('[chore]' 'chore' 'build' 'ci' 'refactor' 'style' 'test')
41+
CHLOG_EXEMPT_PREFIXES=('chore' 'build' 'ci' 'refactor' 'style' 'test')
4242
for prefix in "${CHLOG_EXEMPT_PREFIXES[@]}"; do
4343
if [[ "$PR_TITLE" == "$prefix"* ]]; then
4444
echo "Title has exempt prefix '$prefix'; changelog not required."
@@ -75,7 +75,7 @@ jobs:
7575
then
7676
echo "CHANGELOG.md should not be directly modified."
7777
echo "Please add a .yaml file to the ./.chloggen/ directory."
78-
echo "Alternately, add either \"chore:\" or \"[chore]\" to the title of the pull request or add the \"Skip Changelog\" label if this job should be skipped."
78+
echo "Alternately, add \"chore:\" to the title of the pull request or add the \"Skip Changelog\" label if this job should be skipped."
7979
false
8080
else
8181
echo "CHANGELOG.md was not modified."
@@ -91,7 +91,7 @@ jobs:
9191
echo "No changelog entry was added or changed in the ./.chloggen/ directory."
9292
echo "Please add or edit an existing .yaml file in the ./.chloggen/ directory."
9393
echo "See CONTRIBUTING.md for more details."
94-
echo "Alternately, add either \"[chore]\" to the title of the pull request or add the \"Skip Changelog\" label if this job should be skipped."
94+
echo "Alternately, add \"chore:\" to the title of the pull request or add the \"Skip Changelog\" label if this job should be skipped."
9595
false
9696
else
9797
echo "A changelog entry was added to the ./.chloggen/ directory."

0 commit comments

Comments
 (0)