Skip to content

Commit 0fcbdc5

Browse files
committed
Add codeql-analysis.yaml CI workflow
1 parent e34d076 commit 0fcbdc5

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one or more
3+
# contributor license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright ownership.
5+
# The ASF licenses this file to you under the Apache License, Version 2.0
6+
# (the "License"); you may not use this file except in compliance with
7+
# the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
18+
name: codeql-analysis
19+
20+
on:
21+
push:
22+
branches: [ "main" ]
23+
pull_request:
24+
branches: [ "main" ]
25+
schedule:
26+
# At 06:00 on Monday
27+
- cron: "00 06 * * 1"
28+
29+
permissions: read-all
30+
31+
jobs:
32+
33+
analyze:
34+
uses: apache/logging-parent/.github/workflows/codeql-analysis-reusable.yaml@rel/11.0.0
35+
# Permissions required to publish Security Alerts
36+
permissions:
37+
actions: read
38+
contents: read
39+
security-events: write

0 commit comments

Comments
 (0)