Skip to content

Commit

Permalink
fix: Fetch target branch before computing diff
Browse files Browse the repository at this point in the history
  • Loading branch information
kdestin committed May 14, 2023
1 parent 943a301 commit 16f7b45
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ jobs:
with:
python-version: "3.9"
- name: Check that PR doesn't introduce large changes
run: python ./infra/scripts/commit-filesize-diff-summary.py --limit 2MB ${{ github.event.pull_request.base.ref }}..HEAD
run: |
git fetch origin ${{ github.event.pull_request.base.ref }}
python ./infra/scripts/commit-filesize-diff-summary.py --limit 2MB ${{ github.event.pull_request.base.ref }}..HEAD

0 comments on commit 16f7b45

Please sign in to comment.