Skip to content

Commit 3de56ab

Browse files
committed
Update CodeQL settings to be closer to the default
1 parent 9f806ad commit 3de56ab

File tree

3 files changed

+48
-46
lines changed

3 files changed

+48
-46
lines changed

.github/codeql/codeql-config.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/codeql.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: CodeQL
2+
on:
3+
pull_request:
4+
branches:
5+
- master
6+
push:
7+
branches:
8+
- master
9+
schedule:
10+
- cron: 00 3 * * 1
11+
workflow_dispatch:
12+
concurrency:
13+
group: "${{ github.workflow }}-${{ github.ref }}"
14+
cancel-in-progress: true
15+
permissions:
16+
actions: read
17+
contents: read
18+
security-events: write
19+
jobs:
20+
analyze:
21+
name: Analyze (${{ matrix.language }})
22+
runs-on: ubuntu-latest
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
include:
27+
- language: actions
28+
build-mode: none
29+
- language: javascript-typescript
30+
build-mode: none
31+
- language: ruby
32+
build-mode: none
33+
steps:
34+
- name: Checkout repository
35+
uses: actions/checkout@v6
36+
- name: Initialize CodeQL
37+
uses: github/codeql-action/init@v4
38+
with:
39+
languages: ${{ matrix.language }}
40+
build-mode: ${{ matrix.build-mode }}
41+
config: |
42+
paths-ignore:
43+
- lib/generators/manageiq/plugin/templates
44+
- lib/generators/manageiq/provider/templates
45+
- name: Perform CodeQL Analysis
46+
uses: github/codeql-action/analyze@v4
47+
with:
48+
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)