Skip to content

Commit 554e2a3

Browse files
fix github release action (#84)
The release action now fails with: actions/runner-images#6775, and needs a workaround to fix the issue. Co-authored-by: Yusuke Tsutsumi <yusuke@tsutsumi.io>
1 parent 74342ff commit 554e2a3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ jobs:
1515
id: get_version
1616
run: echo ::set-output name=version::${GITHUB_REF:11}
1717
shell: bash
18+
# see https://github.com/actions/runner-images/issues/6775
19+
# newer versions of Git check ownership of multi-user repositories
20+
# and will fail if one attempts to run Git in the checkout.
21+
- name: Workaround dubious ownership Git security check
22+
id: workaround_dubious_ownership
23+
run: git config --global --add safe.directory /__w/site-generator/site-generator
1824
- name: Get the release notes from the previous release to this one.
1925
id: release_tool
2026
run: python ./.github/release_notes.py

0 commit comments

Comments
 (0)