This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a commit to branch non-default
in repository https://gitbox.apache.org/repos/asf/logging-parent.git
The following commit(s) were added to refs/heads/non-default by this push:
new be781c2 Use a similar CodeQL config as in other repos
be781c2 is described below
commit be781c26cf71ea342d96552bf6de62e075ff63ec
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Fri Apr 11 14:25:52 2025 +0200
Use a similar CodeQL config as in other repos
---
.github/workflows/codeql-analysis.yaml | 22 +++-------------------
1 file changed, 3 insertions(+), 19 deletions(-)
diff --git a/.github/workflows/codeql-analysis.yaml
b/.github/workflows/codeql-analysis.yaml
index 8968396..fdc772d 100644
--- a/.github/workflows/codeql-analysis.yaml
+++ b/.github/workflows/codeql-analysis.yaml
@@ -21,34 +21,18 @@ name: codeql-analysis
on:
push:
- branches: [ "main" ]
+ branches: [ "non-default" ]
pull_request:
- branches: [ "main" ]
- schedule:
- - cron: '32 12 * * 5'
+ branches: [ "non-default" ]
permissions: {}
jobs:
analyze:
- name: Analyze
- runs-on: ubuntu-latest
+ uses:
apache/logging-parent/.github/workflows/codeql-analysis-reusable.yaml@rel/12.1.0
# Permissions required to publish Security Alerts
permissions:
actions: read
contents: read
security-events: write
-
- steps:
-
- - name: Checkout repository
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #
4.2.2
-
- - name: Initialize CodeQL
- uses:
github/codeql-action/init@45775bd8235c68ba998cffa5171334d58593da47 # 3.28.15
- with:
- languages: actions
-
- - name: Perform CodeQL Analysis
- uses:
github/codeql-action/analyze@45775bd8235c68ba998cffa5171334d58593da47 #
3.28.15