Skip to content

Commit

Permalink
workflows: Drop obsolete git safe.directory configuration
Browse files Browse the repository at this point in the history
`actions/checkout@v4` does this by default.
  • Loading branch information
martinpitt committed Mar 3, 2024
1 parent a2eaf83 commit e9b7e6c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ jobs:
# need this to also fetch tags
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
run: git fetch --force origin $(git describe --tags):refs/tags/$(git describe --tags)

Expand Down

0 comments on commit e9b7e6c

Please sign in to comment.