forked from theupdateframework/python-tuf
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 883 Bytes
/
codeql-analysis.yml
File metadata and controls
36 lines (30 loc) · 883 Bytes
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
name: "CodeQL Analysis"
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
schedule:
- cron: '30 0 * * 2'
workflow_dispatch:
permissions: {}
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
# NOTE: If you add security critical permissions, start pinning used actions
actions: read
contents: read
security-events: write # for uploading to code-scanning dashboard
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@v3 # zizmor: ignore[unpinned-uses]
with:
languages: 'python'
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3 # zizmor: ignore[unpinned-uses]