Skip to content

JSON columns: define the round-trip contract, drop the skip, use json… #21

JSON columns: define the round-trip contract, drop the skip, use json…

JSON columns: define the round-trip contract, drop the skip, use json… #21

# Downstream canaries: every push to core master runs each real BerlinDB consumer's
# test suite against this exact commit, so a core change that breaks a consumer turns
# red here (the kind of friction behind the hook-prefix #242 and meta-type #243 issues,
# and the decimal-scale #244 / default-clause #245 gaps EDD surfaced).
#
# Requires a repository secret CANARY_DISPATCH_TOKEN on this repo (berlindb/core): a PAT
# that can dispatch a repository_dispatch event to BOTH berlindb/wp-core-tables and
# berlindb/edd-core-tables (fine-grained: grant it access to both).
name: Downstream canaries
on:
push:
branches: [ master ]
jobs:
dispatch:
runs-on: ubuntu-latest
strategy:
matrix:
repository:
- berlindb/wp-core-tables
- berlindb/edd-core-tables
- berlindb/sc-core-tables
- berlindb/wc-core-tables
steps:
- name: Trigger ${{ matrix.repository }} against this core commit
uses: peter-evans/repository-dispatch@v4
with:
token: ${{ secrets.CANARY_DISPATCH_TOKEN }}
repository: ${{ matrix.repository }}
event-type: core-updated
client-payload: '{"sha": "${{ github.sha }}"}'