mirror of
https://github.com/Viren070/guides.git
synced 2025-12-01 23:16:16 +01:00
ci: commit before pull
This commit is contained in:
@@ -40,6 +40,7 @@ jobs:
|
||||
echo "No changes to commit"
|
||||
echo "CHANGES_DETECTED=false" >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
git commit -m 'chore: update currency rates'
|
||||
echo "CHANGES_DETECTED=true" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
|
||||
@@ -47,7 +48,6 @@ jobs:
|
||||
if: steps.check_changes.outputs.CHANGES_DETECTED == 'true'
|
||||
run: |
|
||||
git pull --rebase origin chore/update-currency-rates || true
|
||||
git commit -m 'chore: update currency rates'
|
||||
git push -u origin chore/update-currency-rates
|
||||
|
||||
- name: create pull request
|
||||
|
||||
Reference in New Issue
Block a user