We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a416df commit cae3dc8Copy full SHA for cae3dc8
.github/workflows/auto-format.yml
@@ -64,6 +64,7 @@ jobs:
64
if: steps.check_enabled.outputs.enabled == 'true' && steps.check_loop.outputs.skip != 'true'
65
run: |
66
DEFAULT_BRANCH="${{ github.event.repository.default_branch }}"
67
+ git fetch origin "$DEFAULT_BRANCH" --depth=0
68
DIFF_TARGET=$(git merge-base "origin/$DEFAULT_BRANCH" HEAD 2>/dev/null || echo "origin/$DEFAULT_BRANCH")
69
70
./vendor/bin/pint --parallel --diff="$DIFF_TARGET"
0 commit comments