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 8849d0f commit 29573c4Copy full SHA for 29573c4
1 file changed
.github/workflows/code_samples.yaml
@@ -100,7 +100,7 @@ jobs:
100
- name: Log target branch code_samples usage
101
if: steps.list.outputs.CODE_SAMPLES_CHANGE != ''
102
run: |
103
- git fetch origin
+ git fetch origin --depth=1 ${{ github.head_ref }}
104
git checkout origin/${{ github.head_ref }} -- tools/code_samples/code_samples_usage.php
105
php tools/code_samples/code_samples_usage.php ${{ steps.list.outputs.CODE_SAMPLES_CHANGE }} > $HOME/code_samples_usage_target.txt
106
0 commit comments