mirror of
				https://github.com/linuxserver/docker-heimdall.git
				synced 2025-11-04 06:52:33 +09:00 
			
		
		
		
	Bot Updating Templated Files
This commit is contained in:
		
							
								
								
									
										4
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@@ -839,11 +839,11 @@ pipeline {
 | 
			
		||||
      steps {
 | 
			
		||||
        echo "Setting up protection for release branch development"
 | 
			
		||||
        sh '''#! /bin/bash
 | 
			
		||||
          curl -H "Authorization: token ${GITHUB_TOKEN}" -X POST https://api.github.com/repos/${LS_USER}/${LS_REPO}/branches/development/protection \
 | 
			
		||||
          curl -H "Authorization: token ${GITHUB_TOKEN}" -X PUT https://api.github.com/repos/${LS_USER}/${LS_REPO}/branches/development/protection \
 | 
			
		||||
          -d $(jq -c .  << EOF
 | 
			
		||||
            {
 | 
			
		||||
              "required_status_checks": null,
 | 
			
		||||
              "enforce_admins": true,
 | 
			
		||||
              "enforce_admins": false,
 | 
			
		||||
              "required_pull_request_reviews": {
 | 
			
		||||
                "dismiss_stale_reviews": false,
 | 
			
		||||
                "require_code_owner_reviews": false,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user