Skip to content

Commit

Permalink
workflows: Pacify git's permission check in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jelly authored and martinpitt committed Feb 8, 2023
1 parent 8a10b59 commit ab6d0db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,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-ostree/cockpit-ostree

- name: Workaround for https://github.com/actions/checkout/pull/697
run: git fetch --force origin $(git describe --tags):refs/tags/$(git describe --tags)

Expand Down

0 comments on commit ab6d0db

Please sign in to comment.