Skip to content

Commit 7c58c28

Browse files
authored
fix: goreleaser git access
1 parent 0d3dcde commit 7c58c28

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
uses: actions/setup-go@v5
3030
with:
3131
go-version: '1.24'
32+
- name: Workaround Git Security Warning
33+
run: |
34+
# Workaround a bug in github actions:
35+
git config --global --add safe.directory "$GITHUB_WORKSPACE"
3236
- name: Generate templ code
3337
uses: capthiron/templ-generator-action@v1
3438
with:
@@ -57,4 +61,4 @@
5761
env:
5862
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE }}
5963
run: |
60-
semantic-release
64+
semantic-release

0 commit comments

Comments
 (0)