Skip to content

Merge pull request #579 from Shopify/fix/remove-private #140

Merge pull request #579 from Shopify/fix/remove-private

Merge pull request #579 from Shopify/fix/remove-private #140

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@v2
- 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