This is an automated email from the ASF dual-hosted git repository.
kichan pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/trafficserver-ingress-controller.git
The following commit(s) were added to refs/heads/master by this push:
new 989603b Update codeql-analysis.yml
989603b is described below
commit 989603b1299d95cfb914dd06369947e117b0e7d8
Author: Kit Chan <[email protected]>
AuthorDate: Mon May 23 11:25:58 2022 -0700
Update codeql-analysis.yml
---
.github/workflows/codeql-analysis.yml | 38 ++++++++++++++++++++++++-----------
1 file changed, 26 insertions(+), 12 deletions(-)
diff --git a/.github/workflows/codeql-analysis.yml
b/.github/workflows/codeql-analysis.yml
index a4809a0..a2c47e2 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -1,22 +1,38 @@
-# For most projects, this workflow file will not need changing; you simply need
-# to commit it to your repository.
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
#
-# You may wish to alter this file to override the set of languages analyzed,
-# or to provide custom queries or build logic.
-#
-# ******** NOTE ********
-# We have attempted to detect the languages in your repository. Please check
-# the `language` matrix defined below to confirm you have the correct set of
-# supported CodeQL languages.
+# http://www.apache.org/licenses/LICENSE-2.0
#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
name: "CodeQL"
on:
push:
branches: [ master ]
+ paths-ignore:
+ - '.vscode/**'
+ - 'charts/**'
+ - 'docs/**'
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
+ paths-ignore:
+ - '.vscode/**'
+ - 'charts/**'
+ - 'docs/**'
+ schedule:
+ - cron: '30 1 * * 1'
jobs:
analyze:
@@ -30,9 +46,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- language: [ 'go', 'javascript', 'python' ]
- # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript',
'python', 'ruby' ]
- # Learn more about CodeQL language support at
https://aka.ms/codeql-docs/language-support
+ language: [ 'go' ]
steps:
- name: Checkout repository