mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-31 10:37:11 -04:00 
			
		
		
		
	feat: weblate checks workflow (#16251)
This commit is contained in:
		
							parent
							
								
									fe702ba6d7
								
							
						
					
					
						commit
						8e076ecfe4
					
				
							
								
								
									
										25
									
								
								.github/workflows/weblate-lock.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								.github/workflows/weblate-lock.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,25 @@ | ||||
| name: Weblate checks | ||||
| 
 | ||||
| on: | ||||
|   pull_request: | ||||
|     branches: [main] | ||||
|     paths: | ||||
|       - 'i18n/**' | ||||
| 
 | ||||
| jobs: | ||||
|   enforce-lock: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - name: Check weblate lock | ||||
|         run: | | ||||
|           if [[ "false" = $(curl https://hosted.weblate.org/api/components/immich/immich/lock/ | jq .locked) ]]; then | ||||
|             exit 1 | ||||
|           fi | ||||
|       - name: Find Pull Request | ||||
|         uses: juliangruber/find-pull-request-action@v1 | ||||
|         id: find-pr | ||||
|         with: | ||||
|           branch: chore/translations | ||||
|       - name: Fail if existing weblate PR | ||||
|         if: ${{ steps.find-pr.outputs.number }} | ||||
|         run: exit 1 | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user