Skip to content

Handle case of GitHub returning 204 No Content in some scenarios #239

Handle case of GitHub returning 204 No Content in some scenarios

Handle case of GitHub returning 204 No Content in some scenarios #239

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