mirror of
				https://github.com/netbox-community/netbox.git
				synced 2024-05-10 07:54:54 +00:00 
			
		
		
		
	Tweak workflow permissions
This commit is contained in:
		
							
								
								
									
										5
									
								
								.github/workflows/lock.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/lock.yml
									
									
									
									
										vendored
									
									
								
							@@ -5,12 +5,11 @@ on:
 | 
			
		||||
  schedule:
 | 
			
		||||
    - cron: '0 3 * * *'
 | 
			
		||||
 | 
			
		||||
permissions: {}
 | 
			
		||||
jobs:
 | 
			
		||||
  lock:
 | 
			
		||||
    permissions:
 | 
			
		||||
      issues: write # to lock issues (dessant/lock-threads)
 | 
			
		||||
      pull-requests: write # to lock PRs (dessant/lock-threads)
 | 
			
		||||
      issues: write
 | 
			
		||||
      pull-requests: write
 | 
			
		||||
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										5
									
								
								.github/workflows/stale.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/stale.yml
									
									
									
									
										vendored
									
									
								
							@@ -4,12 +4,11 @@ on:
 | 
			
		||||
  schedule:
 | 
			
		||||
    - cron: '0 4 * * *'
 | 
			
		||||
 | 
			
		||||
permissions: {}
 | 
			
		||||
jobs:
 | 
			
		||||
  stale:
 | 
			
		||||
    permissions:
 | 
			
		||||
      issues: write # to close stale issues (actions/stale)
 | 
			
		||||
      pull-requests: write # to close stale PRs (actions/stale)
 | 
			
		||||
      issues: write
 | 
			
		||||
      pull-requests: write
 | 
			
		||||
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user