From 98572fb9e155f0f0b32374ae4911b8fa8468834b Mon Sep 17 00:00:00 2001 From: Sasi Date: Thu, 14 Dec 2023 22:01:38 +0530 Subject: [PATCH] chore: update sync ci --- .github/workflows/sync.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index f34b325..24438cf 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -27,3 +27,9 @@ jobs: run: node scripts/sync.js env: SECRET: ${{ secrets.SECRET }} + + - name: Commit and push changes + run: | + git add scripts/last-synced.json + git diff --quiet || git commit -m "ci: update last-synced.json" + git push --force origin master