Skip to content

Merge pull request #959 from Shopify/fix/remove-ajv-schemas #242

Merge pull request #959 from Shopify/fix/remove-ajv-schemas

Merge pull request #959 from Shopify/fix/remove-ajv-schemas #242

Workflow file for this run

name: Update latest.json when changes pushed to main
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout current repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Write latest sha to latest.json
run: |
echo -e { \"revision\": \"$(git rev-parse HEAD)\" }\\n > data/latest.json
- name: Run git config
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- name: Commit and push changes
run: |
git add data/latest.json
git commit -m "Update data/latest.json"
git push origin main