mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-04 03:27:09 -05:00 
			
		
		
		
	fix: weblate pre-job not running (#16802)
* chore: add debug step to weblate pre-job * fix: weblate enforce lock missing needs for pre-job
This commit is contained in:
		
							parent
							
								
									b9ecdf9286
								
							
						
					
					
						commit
						e0a09f2ea0
					
				
							
								
								
									
										7
									
								
								.github/workflows/weblate-lock.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/weblate-lock.yml
									
									
									
									
										vendored
									
									
								
							@ -18,8 +18,15 @@ jobs:
 | 
				
			|||||||
          filters: |
 | 
					          filters: |
 | 
				
			||||||
            i18n:
 | 
					            i18n:
 | 
				
			||||||
              - 'i18n/!(en)**\.json'
 | 
					              - 'i18n/!(en)**\.json'
 | 
				
			||||||
 | 
					      - name: Debug
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					            echo "Should run: ${{ steps.found_paths.outputs.i18n == 'true' && github.head_ref != 'chore/translations'}}"
 | 
				
			||||||
 | 
					            echo "Found i18n paths: ${{ steps.found_paths.outputs.i18n }}"
 | 
				
			||||||
 | 
					            echo "Head ref: ${{ github.head_ref }}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  enforce-lock:
 | 
					  enforce-lock:
 | 
				
			||||||
    name: Check Weblate Lock
 | 
					    name: Check Weblate Lock
 | 
				
			||||||
 | 
					    needs: [ pre-job ]
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    if: ${{ needs.pre-job.outputs.should_run == 'true' }}
 | 
					    if: ${{ needs.pre-job.outputs.should_run == 'true' }}
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user