From e263450196a64f0e6f5650759e3d3c0e5211661b Mon Sep 17 00:00:00 2001 From: "alex.stanfield" <13949480+chaptersix@users.noreply.github.com> Date: Fri, 29 May 2026 10:53:24 -0500 Subject: [PATCH 1/2] fix: use allow instead of ignore for dependency-type in dependabot config dependency-type is only valid inside allow, not ignore. Use allow with dependency-type: direct to exclude indirect deps. --- .github/dependabot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 4ebbf0d4e..7226d8733 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -6,9 +6,9 @@ updates: interval: weekly cooldown: default-days: 14 + allow: + - dependency-type: direct ignore: - - dependency-name: "*" - dependency-type: indirect # Temporal dependencies are managed manually to ensure coordinated upgrades across all temporal packages - dependency-name: "go.temporal.io/*" From 3851c0b89651d39f8c46072c182e6010441dc36c Mon Sep 17 00:00:00 2001 From: "alex.stanfield" <13949480+chaptersix@users.noreply.github.com> Date: Fri, 29 May 2026 11:14:28 -0500 Subject: [PATCH 2/2] ci: add dependabot config validation workflow Uses check-jsonschema with the built-in vendor.dependabot schema to catch invalid dependabot.yml configs in PRs and on push to main. --- .github/workflows/validate-dependabot.yml | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/validate-dependabot.yml diff --git a/.github/workflows/validate-dependabot.yml b/.github/workflows/validate-dependabot.yml new file mode 100644 index 000000000..bf7a28a5e --- /dev/null +++ b/.github/workflows/validate-dependabot.yml @@ -0,0 +1,29 @@ +name: Validate Dependabot Config +on: + pull_request: + paths: + - '.github/dependabot.yml' + push: + branches: + - main + paths: + - '.github/dependabot.yml' + +permissions: + contents: read + +jobs: + validate: + name: Validate Dependabot Config + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + + - uses: actions/setup-python@v6 + with: + python-version: '3.12' + + - name: Validate dependabot.yml + run: | + pip install check-jsonschema==0.37.2 + check-jsonschema --builtin-schema vendor.dependabot .github/dependabot.yml