mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
chore(workflow): configure git user for automated commits and enforce push
This commit is contained in:
5
.github/workflows/biome.yml
vendored
5
.github/workflows/biome.yml
vendored
@@ -32,7 +32,8 @@ jobs:
|
|||||||
- name: Commit changes if needed
|
- name: Commit changes if needed
|
||||||
run: |
|
run: |
|
||||||
BRANCH=$(echo "${{ github.head_ref || github.ref_name }}")
|
BRANCH=$(echo "${{ github.head_ref || github.ref_name }}")
|
||||||
|
git config --global user.name 'github-actions[bot]'
|
||||||
|
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 origin HEAD:$BRANCH --force
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user