Merge pull request #959 from Shopify/fix/remove-ajv-schemas #242
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: 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 |