Skip to content

Commit 20b3006

Browse files
authored
Update drupal-update.yml
Fail when composer update fails.
1 parent 24de349 commit 20b3006

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/drupal-update.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,9 @@ jobs:
150150
{
151151
echo "commit_body<<EOF"
152152
composer update --no-scripts 2>&1 | grep -Pzo 'Lock file operations.*(\n|.)*Writing lock file' | tail -n +2 | head -n -1 | sed -r 's/ +?- ([^ ]+) //g'
153+
COMPOSERSTATUS=${PIPESTATUS[0]}
153154
echo "EOF"
155+
exit $COMPOSERSTATUS
154156
} >> $GITHUB_OUTPUT
155157
156158
- name: "Run composer normalize"

0 commit comments

Comments
 (0)