Skip to content

Commit 0ccad4b

Browse files
committed
Enable Dependabot & CodeQL
1 parent ebb5f98 commit 0ccad4b

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
version: 2
22

33
updates:
4-
# Python dependencies (pip)
54
- package-ecosystem: "pip"
65
directory: "/"
76
schedule:
87
interval: "weekly"
98
open-pull-requests-limit: 10
109
rebase-strategy: "auto"
11-
# Group minor/patch updates to reduce PR noise (Dependabot grouping)
1210
groups:
1311
pip-minor-and-patch:
1412
patterns: ["*"]
1513
update-types: ["minor", "patch"]
1614

17-
# GitHub Actions workflow dependencies
1815
- package-ecosystem: "github-actions"
1916
directory: "/"
2017
schedule:

.github/workflows/codeql.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,13 @@ jobs:
2424

2525
steps:
2626
- name: Checkout repository
27-
# v4 of checkout is recommended
2827
uses: actions/checkout@v4
29-
30-
# Optional but helpful: ensures a Python is available if your repo has build steps
31-
- name: Set up Python
32-
uses: actions/setup-python@v5
33-
with:
34-
python-version: "3.x"
35-
36-
# Optional: install deps so CodeQL can better understand imports (won't fail if file is missing)
37-
- name: Install dependencies (optional)
38-
run: |
39-
if [ -f requirements.txt ]; then
40-
pip install -r requirements.txt
41-
fi
42-
28+
4329
- name: Initialize CodeQL
4430
uses: github/codeql-action/init@v3
4531
with:
4632
languages: ${{ matrix.language }}
4733

48-
# For Python, autobuild is generally no-op, but keep it for consistency
4934
- name: Autobuild
5035
uses: github/codeql-action/autobuild@v3
5136

0 commit comments

Comments
 (0)