mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-02 18:22:16 +00:00
chore(workflow): update Biome workflow to push changes to the correct branch
This commit is contained in:
@@ -31,8 +31,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Commit changes if needed
|
- name: Commit changes if needed
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name 'github-actions[bot]'
|
BRANCH=$(echo "${{ github.head_ref || github.ref_name }}")
|
||||||
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
|
git add .
|
||||||
git add .
|
git diff --quiet && git diff --staged --quiet || git commit -m "chore: auto-format with Biome"
|
||||||
git diff --quiet && git diff --staged --quiet || git commit -m "chore: auto-format with Biome"
|
git push origin HEAD:$BRANCH
|
||||||
git push
|
|
||||||
|
|||||||
Reference in New Issue
Block a user