From 41eb99ec40bc20da84ff41f2ba4c27f4d74245a8 Mon Sep 17 00:00:00 2001 From: Katos <7927609+katosdev@users.noreply.github.com> Date: Sun, 14 Jul 2024 16:45:04 +0100 Subject: [PATCH] Force rebase on Update-currencies action --- .github/workflows/update-currencies.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/update-currencies.yml b/.github/workflows/update-currencies.yml index 9cd18a28..e9e733a2 100644 --- a/.github/workflows/update-currencies.yml +++ b/.github/workflows/update-currencies.yml @@ -42,9 +42,17 @@ jobs: run: | git config --global user.name "github-actions[bot]" git config --global user.email "github-actions[bot]@users.noreply.github.com" + + # Create a new branch git checkout -b update-currencies git add backend/internal/core/currencies/currencies.json git commit -m "Update currencies.json" + + # Fetch the latest changes from the remote + git fetch origin main + git rebase origin/main # Rebase your changes onto the latest main branch + + # Push the new branch to the remote git push --set-upstream origin update-currencies # Create a pull request