Skip to content

Commit 3096299

Browse files
committed
[changelog skip] Fix Escaping in Changelog Script
The previous PR had a bug where the REGEX for grep was not properly escaped. This PR fixes that issue.
1 parent 3fef7ca commit 3096299

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check_changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ jobs:
99
- uses: actions/checkout@v1
1010
- name: Check that CHANGELOG is touched
1111
run: |
12-
cat $GITHUB_EVENT_PATH | jq .pull_request.title | grep -i '[((changelog skip)|(ci skip))]' || git diff remotes/origin/${{ github.base_ref }} --name-only | grep CHANGELOG.md
12+
cat $GITHUB_EVENT_PATH | jq .pull_request.title | grep -i '\[\(\(changelog skip\)\|\(ci skip\)\)\]' || git diff remotes/origin/${{ github.base_ref }} --name-only | grep CHANGELOG.md

0 commit comments

Comments
 (0)