first commit
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Types tests / Test (lts/*) (push) Has been cancelled
				
			
		
			
				
	
				Lint / Lint (lts/*) (push) Has been cancelled
				
			
		
			
				
	
				CodeQL / Analyze (javascript) (push) Has been cancelled
				
			
		
			
				
	
				CI / Test (20) (push) Has been cancelled
				
			
		
			
				
	
				CI / Test (22) (push) Has been cancelled
				
			
		
			
				
	
				CI / Test (24) (push) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Types tests / Test (lts/*) (push) Has been cancelled
				
			Lint / Lint (lts/*) (push) Has been cancelled
				
			CodeQL / Analyze (javascript) (push) Has been cancelled
				
			CI / Test (20) (push) Has been cancelled
				
			CI / Test (22) (push) Has been cancelled
				
			CI / Test (24) (push) Has been cancelled
				
			This commit is contained in:
		
							
								
								
									
										42
									
								
								.github/workflows/fluent_linter.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								.github/workflows/fluent_linter.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,42 @@
 | 
			
		||||
name: Lint Fluent Reference Files
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    paths:
 | 
			
		||||
      - 'l10n/en-US/**.ftl'
 | 
			
		||||
      - '.github/fluent_linter_config.yml'
 | 
			
		||||
      - '.github/workflows/fluent_linter.yml'
 | 
			
		||||
    branches:
 | 
			
		||||
      - master
 | 
			
		||||
  pull_request:
 | 
			
		||||
    paths:
 | 
			
		||||
      - 'l10n/en-US/**.ftl'
 | 
			
		||||
      - '.github/fluent_linter_config.yml'
 | 
			
		||||
      - '.github/workflows/fluent_linter.yml'
 | 
			
		||||
    branches:
 | 
			
		||||
      - master
 | 
			
		||||
  workflow_dispatch:
 | 
			
		||||
permissions:
 | 
			
		||||
  contents: read
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  lint:
 | 
			
		||||
    name: Lint
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Checkout repository
 | 
			
		||||
        uses: actions/checkout@v5
 | 
			
		||||
 | 
			
		||||
      - name: Use Python 3.13
 | 
			
		||||
        uses: actions/setup-python@v6
 | 
			
		||||
        with:
 | 
			
		||||
          python-version: '3.13'
 | 
			
		||||
          cache: 'pip'
 | 
			
		||||
 | 
			
		||||
      - name: Install Fluent dependencies
 | 
			
		||||
        run: |
 | 
			
		||||
          pip install -r .github/requirements.txt
 | 
			
		||||
 | 
			
		||||
      - name: Lint Fluent reference files
 | 
			
		||||
        run: |
 | 
			
		||||
          moz-fluent-lint ./l10n/en-US --config .github/fluent_linter_config.yml
 | 
			
		||||
		Reference in New Issue
	
	Block a user