From 5f191c59b3ffabe1288b33fc8aae10fb93eab84f Mon Sep 17 00:00:00 2001
From: Sami KACHAI <sami.kachai.pro@gmail.com>
Date: Tue, 17 Dec 2024 11:02:31 +0100
Subject: [PATCH] ci(release): add branch pull action before commit (#43)

---
 .github/workflows/release.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 1c7614b..bef5f50 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -80,6 +80,7 @@ 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 pull origin update-changelog
           git add --all
           git commit -m "chore: update changelog for $GITHUB_REF"
           git push origin update-changelog