mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	chore: added dependency review (#7206)
To help with compliance with customer's OSS requirements, this now bans usage of GPL and LGPL, as well as scans PRs for dependency vulnerabilities and new licenses being added.
This commit is contained in:
		
							parent
							
								
									abf4966a37
								
							
						
					
					
						commit
						c932d2a02b
					
				
							
								
								
									
										22
									
								
								.github/workflows/dependency-review.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								.github/workflows/dependency-review.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,22 @@
 | 
				
			|||||||
 | 
					name: Dependency review
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					on:
 | 
				
			||||||
 | 
					  pull_request:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					permissions:
 | 
				
			||||||
 | 
					  contents: read
 | 
				
			||||||
 | 
					  pull-requests: write
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  license_review:
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - name: Checkout code
 | 
				
			||||||
 | 
					        uses: actions/checkout@v4
 | 
				
			||||||
 | 
					      - name: Dependency review
 | 
				
			||||||
 | 
					        uses: actions/dependency-review-action@v4
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          fail-on-severity: moderate
 | 
				
			||||||
 | 
					          # 
 | 
				
			||||||
 | 
					          deny-licenses: GPL-1.0, GPL-2.0, GPL-3.0, LGPL-2.1, LGPL-3.0, MPL-2.0, AGPL-3.0
 | 
				
			||||||
 | 
					          comment-summary-in-pr: always
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user