Skip to content
  • Philip Withnall's avatar
    ci: Limit depth of fetch for initial code checks · 1378a407
    Philip Withnall authored
    
    
    Rather than fetching the entire repository history, limit the fetch
    depth to commits in the last 4 weeks. If a branch was branched longer
    than 4 weeks ago, it seems reasonable to require it to be rebased before
    it can be reviewed.
    
    At the current rate of development, this reduces the bandwidth needed
    for git pulls in the initial code checks from 73MB to 9MB.
    
    Signed-off-by: default avatarPhilip Withnall <withnall@endlessm.com>
    1378a407