mirror of
				https://github.com/TommyTran732/Kernel-Module-Blacklist.git
				synced 2025-11-04 03:08:34 +01:00 
			
		
		
		
	Add permission control for workflow
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
		
							
								
								
									
										6
									
								
								.github/workflows/shellcheck.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/shellcheck.yml
									
									
									
									
										vendored
									
									
								
							@@ -28,8 +28,10 @@ on:
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  shellcheck:
 | 
			
		||||
    name: Bash syntax checker
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    name: Shell syntax checker
 | 
			
		||||
    runs-on: ubuntu-24.04
 | 
			
		||||
    permissions:
 | 
			
		||||
      contents: read
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Checkout code
 | 
			
		||||
        uses: actions/checkout@v4
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user