mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 13:29:10 +08:00 
			
		
		
		
	Update codeql.yml
This commit is contained in:
		
							
								
								
									
										44
									
								
								.github/workflows/codeql.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										44
									
								
								.github/workflows/codeql.yml
									
									
									
									
										vendored
									
									
								
							@@ -16,31 +16,31 @@ jobs:
 | 
				
			|||||||
      security-events: write
 | 
					      security-events: write
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout repository
 | 
					    - name: Checkout repository
 | 
				
			||||||
        uses: actions/checkout@v3
 | 
					      uses: actions/checkout@v3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # Initializes the CodeQL tools for scanning.
 | 
					    # Initializes the CodeQL tools for scanning.
 | 
				
			||||||
      - name: Initialize CodeQL
 | 
					    - name: Initialize CodeQL
 | 
				
			||||||
        uses: github/codeql-action/init@v2
 | 
					      uses: github/codeql-action/init@v2
 | 
				
			||||||
        # Override language selection by uncommenting this and choosing your languages
 | 
					      # Override language selection by uncommenting this and choosing your languages
 | 
				
			||||||
        # with:
 | 
					      # with:
 | 
				
			||||||
        #   languages: go, javascript, csharp, python, cpp, java, ruby
 | 
					      #   languages: go, javascript, csharp, python, cpp, java, ruby
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
 | 
					    # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
 | 
				
			||||||
      # If this step fails, then you should remove it and run the build manually (see below).
 | 
					    # If this step fails, then you should remove it and run the build manually (see below).
 | 
				
			||||||
      - name: Autobuild
 | 
					    - name: Autobuild
 | 
				
			||||||
        uses: github/codeql-action/autobuild@v2
 | 
					      uses: github/codeql-action/autobuild@v2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # ℹ️ Command-line programs to run using the OS shell.
 | 
					    # ℹ️ Command-line programs to run using the OS shell.
 | 
				
			||||||
      # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
 | 
					    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # ✏️ If the Autobuild fails above, remove it and uncomment the following
 | 
					    # ✏️ If the Autobuild fails above, remove it and uncomment the following
 | 
				
			||||||
      #    three lines and modify them (or add more) to build your code if your
 | 
					    #    three lines and modify them (or add more) to build your code if your
 | 
				
			||||||
      #    project uses a compiled language
 | 
					    #    project uses a compiled language
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      #- run: |
 | 
					    #- run: |
 | 
				
			||||||
      #     make bootstrap
 | 
					    #     make bootstrap
 | 
				
			||||||
      #     make release
 | 
					    #     make release
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Perform CodeQL Analysis
 | 
					    - name: Perform CodeQL Analysis
 | 
				
			||||||
        uses: github/codeql-action/analyze@v2
 | 
					      uses: github/codeql-action/analyze@v2
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user