From 7f624857145b21651ba56afbadee6d3f98d68e5b Mon Sep 17 00:00:00 2001 From: aliziel <21992503+aliziel@users.noreply.github.com> Date: Wed, 24 Jun 2026 18:26:32 -0700 Subject: [PATCH 1/3] ci: add dependabot version update config --- .github/dependabot.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..107eff1 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,38 @@ +version: 2 +updates: + + - package-ecosystem: "pip" + directory: "/" + cooldown: + default-days: 7 + semver-major-days: 30 + schedule: + interval: weekly + groups: + all: + patterns: + - "*" + commit-message: + prefix: "chore(deps):" + + - package-ecosystem: "docker" + directory: "/" + cooldown: + default-days: 7 + schedule: + interval: weekly + commit-message: + prefix: "chore(deps):" + + - package-ecosystem: "github-actions" + directory: "/" + cooldown: + default-days: 7 + schedule: + interval: "weekly" + groups: + all: + patterns: + - "*" + commit-message: + prefix: "ci(deps):" From 69e9488d065dccc6d2d0b25352f34bcead97b27a Mon Sep 17 00:00:00 2001 From: aliziel <21992503+aliziel@users.noreply.github.com> Date: Wed, 24 Jun 2026 18:26:57 -0700 Subject: [PATCH 2/3] ci: add OSSF scorecard workflow --- .github/workflows/scorecard.yml | 43 +++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/scorecard.yml diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml new file mode 100644 index 0000000..5c57a0d --- /dev/null +++ b/.github/workflows/scorecard.yml @@ -0,0 +1,43 @@ +name: OSSF Scorecard + +on: + push: + branches: + - main + schedule: + - cron: "30 16 * * 1" # Monday 10:30/11:30 CT + +permissions: read-all # Default all to readonly + +jobs: + analysis: + name: Scorecard analysis + runs-on: ubuntu-latest + permissions: + security-events: write # Allow upload to Security dashboard + id-token: write # Access GitHub's OIDC token to verify authenticity of result for publish + + steps: + - name: Checkout code + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false + + - name: Run analysis + uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3 + with: + results_file: results.sarif + results_format: sarif + publish_results: true + + - name: Upload artifact + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + with: + name: SARIF file + path: results.sarif + retention-days: 5 + + - name: Upload to code-scanning + uses: github/codeql-action/upload-sarif@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4.36.0 + with: + sarif_file: results.sarif From 24a26728da98c5b4b6f9b7f2d02365dfd69511ea Mon Sep 17 00:00:00 2001 From: aliziel <21992503+aliziel@users.noreply.github.com> Date: Wed, 24 Jun 2026 18:27:42 -0700 Subject: [PATCH 3/3] ci: top-level read, add write to specific job (oidc) --- .github/workflows/cicd.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 004587d..f731a5a 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -1,7 +1,6 @@ name: CDK Deploy Dev Workflow 🚀 permissions: - id-token: write contents: read on: @@ -34,6 +33,8 @@ jobs: needs: [define-environment] environment: ${{ needs.define-environment.outputs.env_name }} concurrency: ${{ needs.define-environment.outputs.env_name }} + permissions: + id-token: write # Required to request OIDC token for use with AWS steps: - name: Checkout