File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 6868    runs-on : ubuntu-latest 
6969
7070    steps :
71+       - name : ' PR commits + 1' 
72+         run : echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}" 
73+ 
7174      - name : Checkout repo 
7275        uses : actions/checkout@v5 
76+         with :
77+           fetch-depth : ${{ env.PR_FETCH_DEPTH }} 
7378
7479      - uses : actions/github-script@v7 
7580        id : get-pull 
@@ -111,11 +116,6 @@ jobs:
111116          fi 
112117          git branch -f ${{ github.base_ref }} $REMOTE/${{ github.base_ref }} 
113118
114-        - name : Caching 
115-         uses : Swatinem/rust-cache@v2 
116-         with :
117-           key : clippy-${{ matrix.target }}-${{ matrix.kind }}-${{ env.CACHE_SUFFIX }} 
118- 
119119       - name : Run `cargo xtask changelog …` 
120120        run : | 
121121          cargo xtask changelog "${{ github.base_ref }}" 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments