From c7496433c3dae77274d79d8bcfef20f999c34be7 Mon Sep 17 00:00:00 2001 From: Scott Converse Date: Thu, 19 Nov 2026 20:48:08 -0700 Subject: [PATCH] ci: add scoped security scanning and maintainer ownership --- .github/CODEOWNERS | 2 ++ .github/dependabot.yml | 12 ++++++++++++ .github/workflows/codeql.yml | 30 ++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/codeql.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..5494be9 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,2 @@ +# Maintainer ownership; existing repository review rules are unchanged. +* @scottconverse diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..e958cb7 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +version: 2 +updates: +- package-ecosystem: pip + directory: / + schedule: + interval: weekly + open-pull-requests-limit: 5 +- package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + open-pull-requests-limit: 5 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..537c4a9 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,30 @@ +name: CodeQL +'on': + pull_request: + paths: + - '**/*.py' + - '**/*.js' + - '**/*.ts' + - '**/*.tsx' + - '**/*.jsx' + - '**/pyproject.toml' + - '**/package*.json' + - .github/workflows/codeql.yml + workflow_dispatch: null +permissions: + contents: read + security-events: write +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true +jobs: + analyze: + runs-on: windows-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@v5 + - uses: github/codeql-action/init@v4 + with: + languages: python + build-mode: none + - uses: github/codeql-action/analyze@v4