Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
63 changes: 63 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
Tests:
- changed-files:
- any-glob-to-any-file: [ "tests/**/*" ]

Dependencies:
- changed-files:
- any-glob-to-any-file:
- "requirements.txt"
- "setup.py"
- "pyproject.toml"
- "poetry.lock"
- "pixi.toml"
- "pixi.lock"
- "Pipfile"
- "Pipfile.lock"
- "requirements/*.txt"
- "requirements/*.in"

Build:
- changed-files:
- any-glob-to-any-file:
- "Dockerfile*"
- "docker-compose*.yml"
- "Makefile"

Documentation:
- changed-files:
- any-glob-to-any-file:
- "docs/**/*"
- "*.md"
- "*.rst"

Config:
- changed-files:
- any-glob-to-any-file:
- ".pre-commit-config.yaml"
- "config/**/*"
- "settings/**/*"
- "*.ini"
- "*.cfg"
- "*.conf"

CI/CD:
- changed-files:
- any-glob-to-any-file:
- ".github/**/*"
- "tox.ini"
- ".coveragerc"

# Add 'feature' label to any PR where the head branch name starts with `feature` or has a `feature` section in the name
feature:
- head-branch:
- '^feature'
- 'feature'

# Add 'bugfix' label to branches with bug/fix/hotfix prefixes
bugfix:
- head-branch: [ '^bug', '^fix', '^hotfix' ]

# Add 'breaking' label for major version bumps or breaking change commits
breaking:
- title: [ '^BREAKING CHANGE', 'BREAKING-CHANGE' ]
- body: [ 'BREAKING CHANGE:', 'BREAKING-CHANGE:' ]
25 changes: 25 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# .github/workflows/codeql.yml
name: CodeQL Analysis

on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
schedule:
- cron: '0 0 * * 0'

jobs:
analyze:
runs-on: ubuntu-latest
permissions:
security-events: write

steps:
- uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: python
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
12 changes: 12 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5