mirror of
				https://hub.gitmirror.com/https://github.com/gradle/actions.git
				synced 2025-10-30 01:20:05 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			40 lines
		
	
	
		
			773 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			773 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: CI-codeql
 | |
| 
 | |
| on:
 | |
|   push:
 | |
|     branches: [ "main" ]
 | |
|   pull_request:
 | |
|     branches: [ "main" ]
 | |
|   schedule:
 | |
|     - cron: '25 23 * * 2'
 | |
| 
 | |
| jobs:
 | |
|   analyze:
 | |
|     name: Analyze
 | |
|     runs-on: ubuntu-latest
 | |
|     permissions:
 | |
|       actions: read
 | |
|       contents: read
 | |
|       security-events: write
 | |
| 
 | |
|     strategy:
 | |
|       fail-fast: false
 | |
|       matrix:
 | |
|         language: [ 'javascript-typescript' ]
 | |
| 
 | |
|     steps:
 | |
|     - name: Checkout repository
 | |
|       uses: actions/checkout@v4
 | |
| 
 | |
|     # Initializes the CodeQL tools for scanning.
 | |
|     - name: Initialize CodeQL
 | |
|       uses: github/codeql-action/init@v3
 | |
|       with:
 | |
|         languages: ${{ matrix.language }}
 | |
|         config: |
 | |
|           paths: 
 | |
|           - sources/src
 | |
| 
 | |
|     - name: Perform CodeQL Analysis
 | |
|       uses: github/codeql-action/analyze@v3
 | 
