From 04e7fa4aa5194c444a581d95dbf5b51ac6c9f5d9 Mon Sep 17 00:00:00 2001 From: Ottermandias <70807659+Ottermandias@users.noreply.github.com> Date: Tue, 28 Sep 2021 17:00:08 +0200 Subject: [PATCH] ci: checkout master before committing --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d7d0104e..4fd86d7f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -93,6 +93,7 @@ jobs: git config --global user.name "Actions User" git config --global user.email "actions@github.com" + git fetch origin master && git checkout master git add repo.json git commit -m "[CI] Updating repo.json for ${{ github.ref }}" || true