Skip to content

Commit 6b386cb

Browse files
committed
ci: add release (PyPI + cross-compile), CodeQL, OSSF Scorecard, Dependabot
1 parent f7a8837 commit 6b386cb

3 files changed

Lines changed: 49 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
- package-ecosystem: "pip"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"

.github/workflows/codeql.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches: [main, master, develop]
6+
pull_request:
7+
branches: [main, master, develop]
8+
schedule:
9+
- cron: '30 5 * * 1'
10+
11+
concurrency:
12+
group: codeql-${{ github.ref }}
13+
cancel-in-progress: true
14+
15+
permissions:
16+
actions: read
17+
contents: read
18+
security-events: write
19+
20+
jobs:
21+
analyze:
22+
name: Analyze (Python)
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v4
26+
- uses: actions/setup-python@v5
27+
with:
28+
python-version: "3.12"
29+
- run: pip install -e ".[dev]"
30+
- name: Initialize CodeQL
31+
uses: github/codeql-action/init@v3
32+
with:
33+
languages: python
34+
- name: Autobuild
35+
uses: github/codeql-action/autobuild@v3
36+
- name: Perform CodeQL Analysis
37+
uses: github/codeql-action/analyze@v3
38+
with:
39+
category: "/language:python"

.github/workflows/scorecard.yml

Whitespace-only changes.

0 commit comments

Comments
 (0)