Skip to content

Commit 532e2f8

Browse files
marcarlclaude
andcommitted
Fix: Konfigurera git-identitet i export-workflow
Utan explicit git config user.email/name misslyckas commits i klonat se-lex/sfs-repo med "Author identity unknown" beroende på vilken runner-instans som används. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent de93240 commit 532e2f8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/git-export-workflow.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,11 @@ jobs:
193193
echo "branch_name=${BRANCH_NAME}" >> $GITHUB_OUTPUT
194194
echo "📋 Använder branch: ${BRANCH_NAME}"
195195
196+
- name: Configure Git identity
197+
run: |
198+
git config --global user.email "action@github.com"
199+
git config --global user.name "GitHub Action"
200+
196201
- name: Export to Git repository
197202
# Skippa om inga ändrade filer i "changed" mode
198203
if: steps.export_filter.outputs.filter_type != 'none' || steps.export_filter.outputs.changed_count != '0'

0 commit comments

Comments
 (0)