-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (38 loc) · 1.08 KB
/
codeql-actions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright (C) 2025 Roberto Rossini <[email protected]>
# SPDX-License-Identifier: MIT
name: Run CodeQL analysis (actions)
on:
push:
branches: [main]
paths:
- ".github/workflows/*.yml"
pull_request:
paths:
- ".github/workflows/*.yml"
schedule:
- cron: "0 5 1 * *" # run monthly at 05:00
# https://stackoverflow.com/a/72408109
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
analyze:
name: Analyze (actions)
runs-on: ubuntu-24.04
permissions:
contents: read
security-events: write
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
with:
languages: actions
build-mode: none
- name: Run Analysis
uses: github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
with:
category: "/language:actions"