Handle case of GitHub returning 204 No Content in some scenarios #240
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "BC check" | |
on: | |
pull_request: | |
jobs: | |
roave_bc_check: | |
name: "Roave BC check" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.2' | |
- name: Install roave/backward-compatibility-check | |
run: composer require --dev roave/backward-compatibility-check | |
- name: Run roave/backward-compatibility-check | |
run: vendor/bin/roave-backward-compatibility-check --from=${{ github.event.pull_request.base.sha }} --format=github-actions |