Skip to content

bot: Update dependencies (bulk dependabot PRs) 2026-09-01 #398

bot: Update dependencies (bulk dependabot PRs) 2026-09-01

bot: Update dependencies (bulk dependabot PRs) 2026-09-01 #398

# Copyright 2026 Democratized Data Foundation
#
# Use of this software is governed by the Business Source License
# included in the file licenses/BSL.txt.
#
# As of the Change Date specified in that file, in accordance with
# the Business Source License, use of this software will be governed
# by the Apache License, Version 2.0, included in the file
# licenses/APL.txt.
name: Check Wire Format Changes Workflow
# Pull requests only: this checks that a wire format change carries a note, which
# is a change-versus-base concern. Golden freshness (the snapshot matches the
# code) is covered by the normal test suite on every push. edited is included so
# the check reruns when a PR is retargeted to a different base branch.
on:
pull_request:
types: [opened, synchronize, reopened, edited]
branches:
- master
- develop
# Cancel the workflow if its in progress when there is a new commit. This will reduce unecessary resource usage.
concurrency:
group: ${{ github.workflow }}-\
${{ github.ref == github.ref_protected && github.run_id || github.event.pull_request.number || github.ref }}
cancel-in-progress: true
# The job only reads the repo and runs tests over PR code; grant no write scope
# and do not persist the checkout token while that code runs.
permissions:
contents: read
jobs:
check-wire-format-changes:
name: Check wire format changes job
runs-on: ubuntu-latest
steps:
- name: Checkout code into the directory
uses: actions/checkout@v6
with:
fetch-depth: 0
persist-credentials: false
- name: Setup defradb
uses: ./.github/composites/setup-defradb
# Fails if a wire type changed shape without a note under
# docs/wire_format_changes. The test checks for the note against the base
# branch, so full history is needed (fetch-depth: 0 above). On a PR, diff
# against the actual target branch; otherwise the test falls back to develop.
- name: Run wire format changes detection
env:
DEFRA_CHANGE_DETECTOR_SOURCE_BRANCH: ${{ github.base_ref || 'develop' }}
run: make test:wire-snapshot