Update files changed action (#19172)
This commit is contained in:
		
							parent
							
								
									4ae7525923
								
							
						
					
					
						commit
						393a37c012
					
				
					 2 changed files with 7 additions and 10 deletions
				
			
		
							
								
								
									
										9
									
								
								.github/workflows/lint.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/lint.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -19,21 +19,20 @@ jobs:
 | 
			
		|||
    - name: Install dependencies
 | 
			
		||||
      run: pip3 install -r requirements-dev.txt
 | 
			
		||||
 | 
			
		||||
    - uses: trilom/file-changes-action@v1.2.4
 | 
			
		||||
    - name: Get changed files
 | 
			
		||||
      id: file_changes
 | 
			
		||||
      with:
 | 
			
		||||
        output: '\n'
 | 
			
		||||
      uses: tj-actions/changed-files@v34
 | 
			
		||||
 | 
			
		||||
    - name: Print info
 | 
			
		||||
      run: |
 | 
			
		||||
        git rev-parse --short HEAD
 | 
			
		||||
        echo ${{ github.event.pull_request.base.sha }}
 | 
			
		||||
        echo '${{ steps.file_changes.outputs.files}}'
 | 
			
		||||
        echo '${{ steps.file_changes.outputs.all_changed_files}}'
 | 
			
		||||
 | 
			
		||||
    - name: Run qmk lint
 | 
			
		||||
      shell: 'bash {0}'
 | 
			
		||||
      run: |
 | 
			
		||||
        QMK_CHANGES=$(echo -e '${{ steps.file_changes.outputs.files}}')
 | 
			
		||||
        QMK_CHANGES=$(echo -e '${{ steps.file_changes.outputs.all_changed_files}}' | sed 's/ /\n/g')
 | 
			
		||||
        QMK_KEYBOARDS=$(qmk list-keyboards)
 | 
			
		||||
 | 
			
		||||
        exit_code=0
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue