From 3d723217e6da2d0ce037c86b86367e7188f9b05d Mon Sep 17 00:00:00 2001 From: Sami KACHAI Date: Tue, 17 Dec 2024 11:25:18 +0100 Subject: [PATCH] ci(release): add changes stashing before and after pull (#46) --- .github/workflows/release.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c1df414..dd1faea 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -80,7 +80,9 @@ jobs: git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" git checkout -b update-changelog + git stash || echo "No changes to stash" git pull origin update-changelog --rebase + git stash pop || echo "No changes to apply" git add --all git commit -m "chore: update changelog for $GITHUB_REF" git push origin update-changelog --force