Skip to content

Commit 71673f9

Browse files
committed
Fix commit body for PR
1 parent 22a0ae7 commit 71673f9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/drupal-update.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119

120120
- name: Update composer dependencies
121121
id: composer-update
122-
run: echo "commit_body=$(composer update --no-scripts | grep -Pzo 'Lock file operations.*(\n|.)*Writing lock file' | tail -n +2 | head -n -1)" >> $GITHUB_OUTPUT
122+
run: echo "commit_body=$(composer update --no-scripts 2>&1 | grep -Pzo 'Lock file operations.*(\n|.)*Writing lock file' | tail -n +2 | head -n -1)" >> $GITHUB_OUTPUT
123123

124124
- name: Run Drupal updates
125125
run: vendor/bin/drush updb -y
@@ -130,6 +130,8 @@ jobs:
130130
- name: Generate composer diff
131131
id: composer-diff
132132
uses: IonBazan/composer-diff-action@v1
133+
with:
134+
base: ${{ github.sha }}
133135

134136
- name: Check for GrumPHP
135137
id: check_grumphp

0 commit comments

Comments
 (0)