Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

Force rebase on Update-currencies action

Katos41eb99ec40bc
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