We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2526d05 commit cf3a21eCopy full SHA for cf3a21e
.github/workflows/detect-breaking-changes.yml
@@ -32,4 +32,8 @@ jobs:
32
rye sync --all-features
33
34
- name: Detect breaking changes
35
- run: ./scripts/detect-breaking-changes ${{ github.event.pull_request.base.sha }}
+ run: |
36
+ # Try to check out previous versions of the breaking change detection script. This ensures that
37
+ # we still detect breaking changes when entire files and their tests are removed.
38
+ git checkout "${{ github.event.pull_request.base.sha }}" -- ./scripts/detect-breaking-changes 2>/dev/null || true
39
+ ./scripts/detect-breaking-changes ${{ github.event.pull_request.base.sha }}
0 commit comments