From 3677dd7d07ea66126730dba9ed492bf1fc674d35 Mon Sep 17 00:00:00 2001 From: Marcelo Shima Date: Wed, 8 Jan 2025 15:55:14 -0300 Subject: [PATCH] [skip ci] fix --- .github/workflows/copyright-update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/copyright-update.yml b/.github/workflows/copyright-update.yml index 2eb6bc0462e..6dfe68df64c 100644 --- a/.github/workflows/copyright-update.yml +++ b/.github/workflows/copyright-update.yml @@ -43,7 +43,7 @@ jobs: # Update the copyright headers - name: Find and Replace run: | - grep -rlZE "Copyright 20[0-9]{2}" . | xargs -0 sed -i -e "s/Copyright \([0-9]{4}\)-\([0-9]{4}\)/Copyright \1-$(date +'%Y')/g" + grep -rlZE "Copyright 20[0-9]{2}" . | xargs -0 sed -i -E "s/Copyright ([0-9]{4})-([0-9]{4})/Copyright \1-$(date +'%Y')/g" git diff # Create PR - name: Create Pull Request