Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
Signed-off-by: Liang Huang <[email protected]>

fetch all

Signed-off-by: Liang Huang <[email protected]>

.

Signed-off-by: Liang Huang <[email protected]>
  • Loading branch information
yellow-shine committed Apr 18, 2024
1 parent 66fae53 commit c545df6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,13 @@ jobs:
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
- name: 'PR commits + 1'
run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: ${{ env.PR_FETCH_DEPTH }}
- name: 'Check Changed files'
id: changed-files-cpp
uses: tj-actions/changed-files@v41
Expand Down

0 comments on commit c545df6

Please sign in to comment.