workflows: Pacify git's permission check in release workflow
"fatal: detected dubious ownership in repository at..."
This commit is contained in:
parent
26e4c3e5dd
commit
e3a8c9d17c
1 changed files with 4 additions and 0 deletions
4
.github/workflows/release.yml.disabled
vendored
4
.github/workflows/release.yml.disabled
vendored
|
|
@ -22,6 +22,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
# https://github.blog/2022-04-12-git-security-vulnerability-announced/
|
||||||
|
- name: Pacify git's permission check
|
||||||
|
run: git config --global --add safe.directory /__w/
|
||||||
|
|
||||||
- name: Workaround for https://github.com/actions/checkout/pull/697
|
- name: Workaround for https://github.com/actions/checkout/pull/697
|
||||||
run: git fetch --force origin $(git describe --tags):refs/tags/$(git describe --tags)
|
run: git fetch --force origin $(git describe --tags):refs/tags/$(git describe --tags)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue