Skip to content

Commit be781c2

Browse files
committed
Use a similar CodeQL config as in other repos
1 parent 941d083 commit be781c2

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

.github/workflows/codeql-analysis.yaml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,34 +21,18 @@ name: codeql-analysis
2121

2222
on:
2323
push:
24-
branches: [ "main" ]
24+
branches: [ "non-default" ]
2525
pull_request:
26-
branches: [ "main" ]
27-
schedule:
28-
- cron: '32 12 * * 5'
26+
branches: [ "non-default" ]
2927

3028
permissions: {}
3129

3230
jobs:
3331

3432
analyze:
35-
name: Analyze
36-
runs-on: ubuntu-latest
33+
uses: apache/logging-parent/.github/workflows/codeql-analysis-reusable.yaml@rel/12.1.0
3734
# Permissions required to publish Security Alerts
3835
permissions:
3936
actions: read
4037
contents: read
4138
security-events: write
42-
43-
steps:
44-
45-
- name: Checkout repository
46-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
47-
48-
- name: Initialize CodeQL
49-
uses: github/codeql-action/init@45775bd8235c68ba998cffa5171334d58593da47 # 3.28.15
50-
with:
51-
languages: actions
52-
53-
- name: Perform CodeQL Analysis
54-
uses: github/codeql-action/analyze@45775bd8235c68ba998cffa5171334d58593da47 # 3.28.15

0 commit comments

Comments
 (0)