-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (29 loc) · 946 Bytes
/
Copy pathcodeql.yml
File metadata and controls
34 lines (29 loc) · 946 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
name: codeql
# GitHub's static security analysis, on top of Bastion's own AST hardening tests.
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "27 4 * * 1" # weekly, so newly disclosed patterns get caught
permissions:
contents: read
jobs:
analyze:
name: analyze (python)
runs-on: ubuntu-latest
permissions:
security-events: write # required to upload results to code scanning
actions: read
contents: read
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Initialize CodeQL
uses: github/codeql-action/init@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.9
with:
languages: python
queries: security-and-quality
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.9