format
Some checks failed
Some checks failed
This commit is contained in:
@@ -112,31 +112,31 @@ jobs:
|
||||
git diff --stat
|
||||
fi
|
||||
|
||||
- name: Commit and push formatting changes
|
||||
if: steps.check-changes.outputs.has_changes == 'true'
|
||||
run: |
|
||||
echo "💾 Committing formatting changes..."
|
||||
# - name: Commit and push formatting changes
|
||||
# if: steps.check-changes.outputs.has_changes == 'true'
|
||||
# run: |
|
||||
# echo "💾 Committing formatting changes..."
|
||||
|
||||
git config user.name "Gitea Actions"
|
||||
git config user.email "actions@gitea.local"
|
||||
# git config user.name "Gitea Actions"
|
||||
# git config user.email "actions@gitea.local"
|
||||
|
||||
git add -A
|
||||
# git add -A
|
||||
|
||||
commit_message="🎨 Auto-format GDScript code
|
||||
# commit_message="🎨 Auto-format GDScript code
|
||||
|
||||
Automated formatting applied by tools/run_development.py
|
||||
# Automated formatting applied by tools/run_development.py
|
||||
|
||||
🤖 Generated by Gitea Actions
|
||||
Workflow: ${{ github.workflow }}
|
||||
Run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
|
||||
# 🤖 Generated by Gitea Actions
|
||||
# Workflow: ${{ github.workflow }}
|
||||
# Run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
|
||||
|
||||
git commit -m "$commit_message"
|
||||
# git commit -m "$commit_message"
|
||||
|
||||
target_branch="${{ github.event.pull_request.head.ref || github.ref_name }}"
|
||||
echo "📤 Pushing changes to branch: $target_branch"
|
||||
git push origin HEAD:"$target_branch"
|
||||
# target_branch="${{ github.event.pull_request.head.ref || github.ref_name }}"
|
||||
# echo "📤 Pushing changes to branch: $target_branch"
|
||||
# git push origin HEAD:"$target_branch"
|
||||
|
||||
echo "✅ Formatting changes pushed successfully!"
|
||||
# echo "✅ Formatting changes pushed successfully!"
|
||||
|
||||
lint:
|
||||
name: Code Quality Check
|
||||
|
||||
Reference in New Issue
Block a user