Skip to content

Commit 6229fc8

Browse files
committed
Fix syntax errors
1 parent 35f549f commit 6229fc8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/list-changed-files.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ jobs:
3636
if: ${{ github.repository == 'WordPress/wordpress-develop' || true }}
3737
strategy:
3838
matrix:
39-
new_tag: '6.8.0'
40-
old_tag: '6.7.3'
39+
new_tag: [ '6.8.0' ]
40+
old_tag: [ '6.7.3' ]
4141
pattern: [ 'A', 'D', 'M', 'R' ]
4242

4343
include:
@@ -62,7 +62,9 @@ jobs:
6262
- name: Generate file list
6363
env:
6464
PATTERN: ${{ matrix.pattern }}
65-
run: echo "$(git diff --name-status 6.7.3...6.8.0 | grep -E '^($PATTERN)' | cut -c3-)" >> $GITHUB_STEP_SUMMARY
65+
NEW_TAG: ${{ matrix.new_tag }}
66+
OLD_TAG: ${{ matrix.old_tag }}
67+
run: echo "$(git diff --name-status $OLD_TAG...$NEW_TAG | grep -E '^($PATTERN)' | cut -c3-)" >> $GITHUB_STEP_SUMMARY
6668

6769
slack-notifications:
6870
name: Slack Notifications

0 commit comments

Comments
 (0)