Skip to content

List pull requests associated with a commit #268

List pull requests associated with a commit

List pull requests associated with a commit #268

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