This is an automated email from the ASF dual-hosted git repository.

pkarwasz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j-jmx-gui.git


The following commit(s) were added to refs/heads/main by this push:
     new d775c0e  Add CodeQL Analysis
d775c0e is described below

commit d775c0e918bf1eda3d3b33eecac483886cf012ae
Author: Piotr P. Karwasz <piotr.git...@karwasz.org>
AuthorDate: Wed Oct 11 20:46:17 2023 +0200

    Add CodeQL Analysis
---
 .github/workflows/codeql-analysis.yml | 37 +++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/.github/workflows/codeql-analysis.yml 
b/.github/workflows/codeql-analysis.yml
new file mode 100644
index 0000000..0f6d108
--- /dev/null
+++ b/.github/workflows/codeql-analysis.yml
@@ -0,0 +1,37 @@
+#
+# 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
+#
+#      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-analysis
+
+on:
+  push:
+    branches: [ 2.x ]
+  pull_request:
+    # The branches below must be a subset of the branches provided in 
`on.push.branches`
+    branches: [ 2.x ]
+  schedule:
+    - cron: '32 12 * * 5'
+
+jobs:
+
+  analyze:
+    uses: 
apache/logging-parent/.github/workflows/codeql-analisys-reusable.yaml@main
+    permissions:
+      actions: read
+      contents: read
+      security-events: write
+

Reply via email to