This repository was archived by the owner on Apr 24, 2026. It is now read-only.
Validate Jargon Artefacts #110
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |