diff --git a/.github/workflows/regenerate-readme.yml b/.github/workflows/regenerate-readme.yml index 82835905..39725d6d 100644 --- a/.github/workflows/regenerate-readme.yml +++ b/.github/workflows/regenerate-readme.yml @@ -76,7 +76,7 @@ jobs: - name: Regenerate README.md file run: | wp package install "wp-cli/scaffold-package-command:^2" - wp scaffold package-readme --force . + wp scaffold package-readme --branch=${{ github.event.repository.default_branch }} --force . - name: Check if there are changes id: changes