Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/release-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
- name: "Ensure that branch is up to date with main branch"
if: github.event.pull_request.user.login != 'release-please[bot]'
run: |
if ! git merge-base --is-ancestor origin/main ${{ github.event.pull_request.head.sha }}; then
echo "PR branch is out of date with main. Please merge or rebase main into your branch to avoid false BC break detections."
exit 1
fi
- name: "Install dependencies"
run: composer global require "roave/backward-compatibility-check:^8.2"
- name: "Check for BC breaks"
Expand Down
Loading