Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a4b227d

Browse files
committed
Fix changelog entry filter regular expression syntax
The previous case insensitive flag syntax is not supported in JavaScript regular expressions, resulting in an error from the `arduino/create-changelog` action: Invalid regular expression: /^(?i)\[(skip|changelog)[ ,-](skip|changelog)\].*/: Invalid group I couldn't find a valid way to specify the i flag, so I used the brute force approach to achieve case-insensitivity.
1 parent cbac732 commit a4b227d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: arduino/create-changelog@1.0.0
2020
with:
2121
tag-regex: '^[0-9]+\.[0-9]+\.[0-9]+$'
22-
filter-regex: '^(?i)\[(skip|changelog)[ ,-](skip|changelog)\].*'
22+
filter-regex: '^\[([sS][kK][iI][pP]|[cC][hH][aA][nN][gG][eE][lL][oO][gG])[ ,-]([cC][hH][aA][nN][gG][eE][lL][oO][gG]|[sS][kK][iI][pP])\].*'
2323
changelog-file-path: "dist/CHANGELOG.md"
2424

2525
- name: Build

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /