Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 75259a0

Browse files
committed
Escape brackets in regular expression used to filter out insignificant changes of copyright notice year
Closes #52
1 parent c32a7d6 commit 75259a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/update-lint-and-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- run: git config --local user.name "GitHub Action's update-translation job"
4949
# Check for changes in README.md
5050
- run: >
51-
! git diff -I'^"POT-Creation-Date: ' -I'^"Language-Team: ' -I'^# Copyright (C) 2001-' --exit-code && echo "SIGNIFICANT_CHANGES=1" >> $GITHUB_ENV || exit 0
51+
! git diff -I'^"POT-Creation-Date: ' -I'^"Language-Team: ' -I'^# Copyright \(C\) 2001-' --exit-code && echo "SIGNIFICANT_CHANGES=1" >> $GITHUB_ENV || exit 0
5252
- run: git add .
5353
- run: git commit -m 'Update translation from Transifex'
5454
if: env.SIGNIFICANT_CHANGES

0 commit comments

Comments
 (0)