From 991f7a009027c6cc3b2f7e311f51fa400db1a3d6 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Mon, 30 Nov 2026 11:23:26 +0000 Subject: [PATCH] chore(github): add CODEOWNERS, Scorecard and grouped Dependabot updates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CODEOWNERS routes every review to the maintainer. Dependabot now covers pip (root and orchestrator, security updates only), GitHub Actions, the orchestrator Docker image and its compose file, grouped weekly. The Scorecard workflow scores the supply chain on master and uploads its SARIF to code scanning; every action is pinned to the commit its release tag resolves to (checkout v7.0.1, scorecard-action v2.5.0, upload-artifact v7.0.2, codeql-action upload-sarif v4.39.4). 🎯 Fix: 92 % 💥 Break: 4 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: 100 % 🏆 Score: 88 🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 % Created-with: https://s.veen.world/skills Co-Authored-By: Claude Opus 5.5 --- .github/CODEOWNERS | 1 + .github/dependabot.yml | 48 ++++++++++++++++++++++++++++++--- .github/workflows/scorecard.yml | 48 +++++++++++++++++++++++++++++++++ 3 files changed, 94 insertions(+), 3 deletions(-) create mode 100644 .github/CODEOWNERS create mode 100644 .github/workflows/scorecard.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..85fb3b3 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @kevinveenbirkenbach diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8d20e2e..c42311a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,6 +1,48 @@ version: 2 + updates: - - package-ecosystem: pip - directory: / + - package-ecosystem: "pip" + directories: + - "/" + - "/orchestrator" schedule: - interval: daily + interval: "weekly" + open-pull-requests-limit: 0 + groups: + pip-security: + applies-to: security-updates + patterns: + - "*" + + - package-ecosystem: "github-actions" + directories: + - "/" + schedule: + interval: "weekly" + groups: + actions: + applies-to: version-updates + patterns: + - "*" + + - package-ecosystem: "docker" + directories: + - "/orchestrator" + schedule: + interval: "weekly" + groups: + docker: + applies-to: version-updates + patterns: + - "*" + + - package-ecosystem: "docker-compose" + directories: + - "/orchestrator" + schedule: + interval: "weekly" + groups: + compose: + applies-to: version-updates + patterns: + - "*" diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml new file mode 100644 index 0000000..f6afb6f --- /dev/null +++ b/.github/workflows/scorecard.yml @@ -0,0 +1,48 @@ +name: "🛡️ Score supply chain" +run-name: "${{ github.event_name == 'schedule' && '⏰ ' || '' }}🛡️ Score supply chain" +on: + branch_protection_rule: + schedule: + - cron: '17 3 * * *' + push: + branches: [ "master" ] + +concurrency: + group: scorecard-${{ github.repository }}-${{ github.ref_name }} + cancel-in-progress: true + +permissions: read-all + +jobs: + analysis: + name: 🔍 Scorecard analysis + runs-on: ubuntu-latest + if: github.event.repository.default_branch == github.ref_name + permissions: + security-events: write + id-token: write + + steps: + - name: "📥 Checkout code" + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + + - name: "🔬 Run analysis" + uses: ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e # v2.5.0 + with: + results_file: results.sarif + results_format: sarif + publish_results: true + + - name: "📤 Upload artifact" + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + with: + name: SARIF file + path: results.sarif + retention-days: 5 + + - name: "📊 Upload to code-scanning" + uses: github/codeql-action/upload-sarif@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4.39.4 + with: + sarif_file: results.sarif