workflows: Pacify git's permission check in release workflow
Similar to https://github.com/cockpit-project/bots/pull/4224
This commit is contained in:
parent
99bfebd6cb
commit
abbde51fa6
|
@ -21,6 +21,10 @@ jobs:
|
|||
with:
|
||||
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/cockpit/cockpit
|
||||
|
||||
- name: Workaround for https://github.com/actions/checkout/pull/697
|
||||
run: git fetch --force origin $(git describe --tags):refs/tags/$(git describe --tags)
|
||||
|
||||
|
|
Loading…
Reference in New Issue