Skip to content

Commit

Permalink
[changelog skip] Fix Escaping in Changelog Script
Browse files Browse the repository at this point in the history
The previous PR had a bug where the REGEX for grep was not properly escaped. This PR fixes that issue.
  • Loading branch information
schneems committed Oct 1, 2019
1 parent 03b2135 commit 3634ef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check_changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ jobs:
- uses: actions/checkout@v1
- name: Check that CHANGELOG is touched
run: |
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
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 comments on commit 3634ef0

Please sign in to comment.