diff --git a/.github/workflows/release-checks.yaml b/.github/workflows/release-checks.yaml index 1ef914f1ccb8..efa69b69d3f6 100644 --- a/.github/workflows/release-checks.yaml +++ b/.github/workflows/release-checks.yaml @@ -33,7 +33,10 @@ jobs: exit 1 fi - name: "Install dependencies" - run: composer global require "roave/backward-compatibility-check:^8.2" + run: | + composer global require "roave/backward-compatibility-check:^8.2" + # TODO: Remove this line after https://github.com/googleapis/google-cloud-php/pull/9697 is merged and released + sed -i.bak 's/return ($this->propertyBased)/return (new ExcludeInternalProperty($this->propertyBased))/' ~/.composer/vendor/roave/backward-compatibility-check/src/DetectChanges/BCBreak/PropertyBased/OnlyPublicPropertyChanged.php - name: "Check for BC breaks" if: github.event.pull_request.user.login != 'release-please[bot]' run: |