File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -47,15 +47,18 @@ jobs:
4747            libraries/extras/** 
4848            libraries/ea_malloc/** 
4949write_output_files : true 
50-           base_sha : ${{ steps.first-commit.outputs.sha }} 
5150
5251      - name : List changed files 
53-         if : steps.changed-files.outputs.any_changed == 'true' 
52+         id : changed-files-list 
53+         if : steps.changed-files.outputs.any_changed == 'true' and github.event_name != 'workflow_dispatch' 
54+         outputs : 
55+           all_changed_files : ${{ steps.changed-files.outputs.all_changed_files }} 
5456        run : cat .github/outputs/all_changed_files.txt 
5557
5658      - name : Run clang-format check 
57-         if : steps.changed-files.outputs.any_changed == 'true' 
59+         if : steps.changed-files.outputs.any_changed == 'true' or github.event_name == 'workflow_dispatch'  
5860        uses : pillo79/clang-format-action@05f671e71f0758aba4d3c9dbb0ee81bc5f0137c6 
5961        with :
6062          clang-format-version : ' 19' 
61-           check-files-from : .github/outputs/all_changed_files.txt 
63+           check-files-from : ${{ steps.changed-files-list.outputs.all_changed_files }} 
64+           check-path : ${{ github.event_name == 'workflow_dispatch' && '.' }} 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments