mirror of
				https://github.com/ingress-it-solutions/gitea-code-review-action.git
				synced 2025-11-04 00:11:05 +00:00 
			
		
		
		
	Removed comment from ReadMe
This commit is contained in:
		
					parent
					
						
							
								1fd15b539d
							
						
					
				
			
			
				commit
				
					
						f18c541e29
					
				
			
		
					 3 changed files with 5 additions and 5 deletions
				
			
		
							
								
								
									
										4
									
								
								dist/index.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								dist/index.js
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -39240,11 +39240,11 @@ async function run() {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if(sourceAt === 'github') {
 | 
					      if(sourceAt === 'github') {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          const url = `${githubBaseURL}/repos/${repoOwner}/${repoName}/pulls/${prNumber}/diff`;
 | 
					          const url = `${githubBaseURL}/repos/${repoOwner}/${repoName}/pulls/${prNumber}`;
 | 
				
			||||||
          console.log(`diff url: ${url}`);
 | 
					          console.log(`diff url: ${url}`);
 | 
				
			||||||
          var response = await axios.get(url, {
 | 
					          var response = await axios.get(url, {
 | 
				
			||||||
              headers: {
 | 
					              headers: {
 | 
				
			||||||
                  Authorization: `token ${giteaToken}`,
 | 
					                  Authorization: `token ${githubToken}`,
 | 
				
			||||||
                  Accept: 'application/vnd.github.diff'
 | 
					                  Accept: 'application/vnd.github.diff'
 | 
				
			||||||
              }
 | 
					              }
 | 
				
			||||||
          });
 | 
					          });
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								dist/index.js.map
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js.map
									
										
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										4
									
								
								index.js
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								index.js
									
										
									
									
									
								
							| 
						 | 
					@ -54,11 +54,11 @@ async function run() {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if(sourceAt === 'github') {
 | 
					      if(sourceAt === 'github') {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          const url = `${githubBaseURL}/repos/${repoOwner}/${repoName}/pulls/${prNumber}/diff`;
 | 
					          const url = `${githubBaseURL}/repos/${repoOwner}/${repoName}/pulls/${prNumber}`;
 | 
				
			||||||
          console.log(`diff url: ${url}`);
 | 
					          console.log(`diff url: ${url}`);
 | 
				
			||||||
          var response = await axios.get(url, {
 | 
					          var response = await axios.get(url, {
 | 
				
			||||||
              headers: {
 | 
					              headers: {
 | 
				
			||||||
                  Authorization: `token ${giteaToken}`,
 | 
					                  Authorization: `token ${githubToken}`,
 | 
				
			||||||
                  Accept: 'application/vnd.github.diff'
 | 
					                  Accept: 'application/vnd.github.diff'
 | 
				
			||||||
              }
 | 
					              }
 | 
				
			||||||
          });
 | 
					          });
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue