File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 2424      fail-on-verified : " false" #  Don't block on verified secrets (monitoring only)
2525      fail-on-unverified : " false" #  Don't block on unverified secrets
2626      runs-on : ${{ !github.event.repository.private && 'ubuntu-latest' || 'ubuntu-arm64-small' }}     #  Use same runner pattern as zizmor
27-     secrets : inherit 
27+     secrets : inherit 
Original file line number Diff line number Diff line change 4242        run : | 
4343          # Download binary directly from GitHub releases for supply chain security 
4444          VERSION="v${{ env.TRUFFLEHOG_VERSION }}" 
45-           ARCH="linux_amd64" 
45+           # Auto-detect architecture for cross-platform support 
46+           if [[ "$(uname -m)" == "aarch64" ]]; then 
47+             ARCH="linux_arm64" 
48+           else 
49+             ARCH="linux_amd64" 
50+           fi 
4651          BINARY_URL="https://github.com/trufflesecurity/trufflehog/releases/download/${VERSION}/trufflehog_${VERSION#v}_${ARCH}.tar.gz" 
4752
4853          curl -sSfL "${BINARY_URL}" | tar -xz -C /tmp 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments