Skip to content

Commit 20924ee

Browse files
Copilotswissspidy
andcommitted
Address code review feedback on workflow file
Co-authored-by: swissspidy <[email protected]>
1 parent 425e038 commit 20924ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/regenerate-handbook.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424

2525
- name: Install Composer dependencies
2626
run: composer install --no-dev
27+
# Needed to set up the autoloader for bin/command.php
2728

2829
- name: Download WP-CLI nightly
2930
run: |
@@ -45,7 +46,7 @@ jobs:
4546
- name: Check for changes
4647
id: changes
4748
run: |
48-
git diff --exit-code --quiet || echo "has_changes=true" >> $GITHUB_OUTPUT
49+
git diff --exit-code --quiet HEAD || echo "has_changes=true" >> $GITHUB_OUTPUT
4950
5051
- name: Commit changes
5152
if: steps.changes.outputs.has_changes == 'true'

0 commit comments

Comments
 (0)