mirror of
				https://github.com/Frooodle/Stirling-PDF.git
				synced 2025-11-01 01:21:18 +01:00 
			
		
		
		
	Fix: Pinned-Dependencies sync_files.yml (#2660)
# Description https://github.com/Stirling-Tools/Stirling-PDF/security/code-scanning/58 ## Checklist - [x] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [ ] I have performed a self-review of my own code - [ ] I have attached images of the change if it is UI based - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] If my code has heavily changed functionality I have updated relevant docs on [Stirling-PDFs doc repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/) - [ ] My changes generate no new warnings - [ ] I have read the section [Add New Translation Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only)
This commit is contained in:
		
							parent
							
								
									9273b163a8
								
							
						
					
					
						commit
						c11076ee94
					
				
							
								
								
									
										1
									
								
								.github/scripts/requirements_sync_readme.in
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.github/scripts/requirements_sync_readme.in
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1 @@
 | 
			
		||||
tomlkit
 | 
			
		||||
							
								
								
									
										10
									
								
								.github/scripts/requirements_sync_readme.txt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								.github/scripts/requirements_sync_readme.txt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,10 @@
 | 
			
		||||
#
 | 
			
		||||
# This file is autogenerated by pip-compile with Python 3.10
 | 
			
		||||
# by the following command:
 | 
			
		||||
#
 | 
			
		||||
#    pip-compile --generate-hashes --output-file='.github\scripts\requirements_sync_readme.txt' '.github\scripts\requirements_sync_readme.in'
 | 
			
		||||
#
 | 
			
		||||
tomlkit==0.13.2 \
 | 
			
		||||
    --hash=sha256:7a974427f6e119197f670fbbbeae7bef749a6c14e793db934baefc1b5f03efde \
 | 
			
		||||
    --hash=sha256:fff5fe59a87295b278abd31bec92c15d9bc4a06885ab12bcea52c71119392e79
 | 
			
		||||
    # via -r .github\scripts\requirements_sync_readme.in
 | 
			
		||||
							
								
								
									
										2
									
								
								.github/workflows/sync_files.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/sync_files.yml
									
									
									
									
										vendored
									
									
								
							@ -30,7 +30,7 @@ jobs:
 | 
			
		||||
        with:
 | 
			
		||||
          python-version: "3.12"
 | 
			
		||||
      - name: Install dependencies
 | 
			
		||||
        run: pip install tomlkit
 | 
			
		||||
        run: pip install --require-hashes -r ./.github/scripts/requirements_sync_readme.txt
 | 
			
		||||
      - name: Sync README
 | 
			
		||||
        run: python scripts/counter_translation.py
 | 
			
		||||
      - name: Set up git config
 | 
			
		||||
 | 
			
		||||
@ -20,7 +20,7 @@ repos:
 | 
			
		||||
          - --skip="./.*,*.csv,*.json,*.ambr"
 | 
			
		||||
          - --quiet-level=2
 | 
			
		||||
        files: \.(properties|html|css|js|py|md)$
 | 
			
		||||
        exclude: (.vscode|.devcontainer|src/main/resources|Dockerfile)
 | 
			
		||||
        exclude: (.vscode|.devcontainer|src/main/resources|Dockerfile|.*/pdfjs.*|.*/thirdParty.*|bootstrap.*|.*\.min\..*|.*diff\.js)
 | 
			
		||||
  - repo: https://github.com/gitleaks/gitleaks
 | 
			
		||||
    rev: v8.22.0
 | 
			
		||||
    hooks:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user