From dc4b1afbb68d8914299a702cc8b9f0a2a86c11c1 Mon Sep 17 00:00:00 2001 From: Sergey Fionov Date: Tue, 23 Jan 2024 10:32:07 +0200 Subject: [PATCH] FIx update json --- .github/workflows/workflow.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index d0c278a..8c13eab 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -45,10 +45,11 @@ jobs: pull_request_url.txt - name: update json - if: startsWith(github.ref, 'refs/tags/v') + if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'pull_request' run: | git config user.email "41898282+github-actions[bot]@users.noreply.github.com>" git config user.name "github-actions[bot]" + git fetch origin ./update.sh git push origin master ls -la