Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

chore: update DigitalFacilityRecord to use core working. #102

chore: update DigitalFacilityRecord to use core working.

chore: update DigitalFacilityRecord to use core working. #102

name: Validate Jargon Artefacts
on:
pull_request:
branches:
- 'data-models-staging'
paths:
- 'data-models/**'
workflow_dispatch:
jobs:
validate-jargon-artefacts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download client payload
run: |
branch_name="${{ github.head_ref }}"
gh run download -n client-payload-${branch_name#*sync-}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Read file and set env variable
run: |
echo "CLIENT_PAYLOAD<<EOF" >> $GITHUB_ENV
cat ./client_payload.json >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- name: Run Validate Jargon Artefacts
uses: ./.github/actions/validate-jargon-artefacts
with:
jargon-webhook-payload: ${{ env.CLIENT_PAYLOAD }}