Skip to content

Commit

Permalink
fix github release action (#84)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
shwoodard and toumorokoshi committed May 17, 2023
1 parent 74342ff commit 554e2a3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ jobs:
id: get_version
run: echo ::set-output name=version::${GITHUB_REF:11}
shell: bash
# see https://github.com/actions/runner-images/issues/6775
# newer versions of Git check ownership of multi-user repositories
# and will fail if one attempts to run Git in the checkout.
- name: Workaround dubious ownership Git security check
id: workaround_dubious_ownership
run: git config --global --add safe.directory /__w/site-generator/site-generator
- name: Get the release notes from the previous release to this one.
id: release_tool
run: python ./.github/release_notes.py
Expand Down

0 comments on commit 554e2a3

Please sign in to comment.